IDEA解决 Maven:unable to find valid certification path to requested target

在导入Spring依赖的时候,报了unable to find valid certification path to requested target这个错误。

解决办法:
添加参数:

-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

在这里插入图片描述
然后接下来就可以安装我之前的那章文章来了。传送门

猜你喜欢

转载自blog.csdn.net/weixin_43844418/article/details/113726884