PKIX路径构建失败:sun.security.provider.certpath.SunCertPathBuilderException?

时间:2020-09-16 12:09:09

标签: java maven

我正在尝试在本地运行此Repositry。当我从docker映像运行时,我能够成功启动,但是当我尝试mvn clean install时,出现以下错误:

>mvn clean install
[INFO] Scanning for projects...
Downloading from danubetech-maven-public: https://repo.danubetech.com/repository/maven-public/decentralized-identity/uni-resolver/0.1.0/uni-resolver-0.1.0.pom
Downloading from sovrin: https://repo.sovrin.org/repository/maven-public/decentralized-identity/uni-resolver/0.1.0/uni-resolver-0.1.0.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for decentralized-identity:uni-resolver-driver-did-sov:0.2-SNAPSHOT: Could not transfer artifact decentralized-identity:uni-resolver:pom:0.1.0 from/to danubetech-maven-public (https://repo.danubetech.com/repository/maven-public/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target and 'parent.relativePath' points at wrong local POM @ line 10, column 10
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project decentralized-identity:uni-resolver-driver-did-sov:0.2-SNAPSHOT (C:\Users\YA20099507\Documents\workspace-spring-tool-suite-4-4.7.0.RELEASE\uni-resolver-driver-did-sov-master\uni-resolver-driver-did-sov-master\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for decentralized-identity:uni-resolver-driver-did-sov:0.2-SNAPSHOT: Could not transfer artifact decentralized-identity:uni-resolver:pom:0.1.0 from/to danubetech-maven-public (https://repo.danubetech.com/repository/maven-public/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target and 'parent.relativePath' points at wrong local POM @ line 10, column 10 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

此问题的原因是什么,我该如何解决?

0 个答案:

没有答案