maven导入包出错

错误: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
 

posted @ 2021-01-15 22:06  我迷路了呀  阅读(127)  评论(0)    收藏  举报