首页 > 其他 > 详细

maven导入包出错

时间:2021-01-16 01:16:38      阅读:21      评论:0      收藏:0      [点我收藏+]
错误:Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.2.0.RELEASE from/to nexus-aliyun (https://maven.aliyun.com/nexus/content/groups/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

首先检查settings文件和库文件
 
我放在了c盘的阿帕奇maven下
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true
 

技术分享图片

maven导入包出错

原文:https://www.cnblogs.com/iamlost/p/14284478.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!