NutzCN Logo
问答 项目根目录执行 mvn clean install -Dmaven.test.skip=true有些问题想请教一下
发布于 1746天前 作者 qq_31ec93d6 1535 次浏览 复制 上一个帖子 下一个帖子
标签:

在项目根目录下执行命令,出现以下情况,想请教一下是什么问题

F:\javaWorkSpace\NutzWk-5.x>mvn clean install -Dmaven.tast.skip=true
[INFO] Scanning for projects...
Downloading from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-parent/2.3.8-SNAPSHOT/maven-metadata.xml
Downloading from nutz: https://jfrog.nutz.cn/artifactory/libs-release/org/nutz/nutzboot-parent/2.3.8-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.nutz:nutzboot-parent:2.3.8-SNAPSHOT/maven-metadata.xml from/to nutz (https://jfrog.nutz.cn/artifactory/libs-release): sun.security.validator.ValidatorException: PKIX path building failed: su
n.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[WARNING] Could not transfer metadata org.nutz:nutzboot-parent:2.3.8-SNAPSHOT/maven-metadata.xml from/to nutz-snapshots (https://jfrog.nutz.cn/artifactory/snapshots): sun.security.validator.ValidatorException: PKIX path building fai
led: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Downloading from nutz: https://jfrog.nutz.cn/artifactory/libs-release/org/nutz/nutzboot-parent/2.3.8-SNAPSHOT/nutzboot-parent-2.3.8-SNAPSHOT.pom
Downloading from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-parent/2.3.8-SNAPSHOT/nutzboot-parent-2.3.8-SNAPSHOT.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not transfer artifact org.nutz:nutzboot-parent:pom:2.3.8-SNAPSHOT from/to nutz (https://jfrog.nutz.cn/artifactory/libs-release): sun.security.validator.ValidatorException: PKIX path building
failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target @ line 79, column 25
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project cn.wizzer:wk-parent:5.2.7-SNAPSHOT (F:\javaWorkSpace\NutzWk-5.x\pom.xml) has 1 error
[ERROR]     Non-resolvable import POM: Could not transfer artifact org.nutz:nutzboot-parent:pom:2.3.8-SNAPSHOT from/to nutz (https://jfrog.nutz.cn/artifactory/libs-release): sun.security.validator.ValidatorException: PKIX path build
ing failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target @ line 79, column 25 -> [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

3 回复

原本我以为是命令输错的原因,但修改之后还是出现同样的问题

F:\javaWorkSpace\NutzWk-5.x>mvn clean install -Dmaven.test.skip=true
[INFO] Scanning for projects...
Downloading from nutz: https://jfrog.nutz.cn/artifactory/libs-release/org/nutz/nutzboot-parent/2.3.8-SNAPSHOT/maven-metadata.xml
Downloading from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-parent/2.3.8-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.nutz:nutzboot-parent:2.3.8-SNAPSHOT/maven-metadata.xml from/to nutz (https://jfrog.nutz.cn/artifactory/libs-release): sun.security.validator.ValidatorException: PKIX path building failed: su
n.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[WARNING] Could not transfer metadata org.nutz:nutzboot-parent:2.3.8-SNAPSHOT/maven-metadata.xml from/to nutz-snapshots (https://jfrog.nutz.cn/artifactory/snapshots): sun.security.validator.ValidatorException: PKIX path building fai
led: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Downloading from nutz: https://jfrog.nutz.cn/artifactory/libs-release/org/nutz/nutzboot-parent/2.3.8-SNAPSHOT/nutzboot-parent-2.3.8-SNAPSHOT.pom
Downloading from nutz-snapshots: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-parent/2.3.8-SNAPSHOT/nutzboot-parent-2.3.8-SNAPSHOT.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not transfer artifact org.nutz:nutzboot-parent:pom:2.3.8-SNAPSHOT from/to nutz (https://jfrog.nutz.cn/artifactory/libs-release): sun.security.validator.ValidatorException: PKIX path building
failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target @ line 79, column 25
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project cn.wizzer:wk-parent:5.2.7-SNAPSHOT (F:\javaWorkSpace\NutzWk-5.x\pom.xml) has 1 error
[ERROR]     Non-resolvable import POM: Could not transfer artifact org.nutz:nutzboot-parent:pom:2.3.8-SNAPSHOT from/to nutz (https://jfrog.nutz.cn/artifactory/libs-release): sun.security.validator.ValidatorException: PKIX path build
ing failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target @ line 79, column 25 -> [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

jdk8u112以上

添加回复
请先登陆
回到顶部