这个Maven认证错误表示什么?

时间:2018-11-13 13:50:59

标签: java maven spring-boot maven-2 maven-plugin

[错误] com.example:dynamoWork:0.0.1-SNAPSHOT的不可解析的父POM:无法从以下位置传输工件org.springframework.boot:spring-boot-starter-parent:pom:2.1.0.RELEASE / to artie(https://repo.maven.apache.org/maven2/):sun.security.validator.ValidatorException:PKIX路径构建失败:sun.security.provider.certpath.SunCertPathBuilderException:无法找到到请求的目标和“ parent.relativePath”点的有效认证路径在没有本地POM的情况下,在第14行第10列-> [帮助2]

1 个答案:

答案 0 :(得分:0)

您可能在代理人的后面。您需要在settings.xml中使用组织的镜像站点,传递镜像站点的ID /密码,并将站点的证书安装到jre \ lib \ security \ cacert文件中。