参考链接:
1. https://blog.csdn.net/hadues/article/details/119038072
2. 配置 绕过校验服务器的证书:
打开 IDEA:
(1)Windows 版:File —> Settings —> Build,Execution,Deployment —> Build Tools —> Maven —> Importing —> VM options for importer,值为:-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
(2)Mac 版:Preferences —> Build,Execution,Deployment —> Build Tools —> Maven —> Importing —> VM options for importer,值为:-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true