参考链接:

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

 

posted on 2022-02-11 00:21  文泽9527  阅读(1747)  评论(0编辑  收藏  举报