阅读背景:

【错误】2017 idea工具利用mave构建错误_朱砂绛的博客

来源:互联网 

报错信息如下:

[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.365 s
[INFO] Finished at: 2020-03-17T11:59:28+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-archetype-plugin:
RELEASE or one of its dependencies could not be resolved: 
Failed to read artifact descriptor for org.apache.maven.plugins:maven-archetype-plugin:jar:
RELEASE: Failed to resolve version for org.apache.maven.plugins:maven-archetype-plugin:jar:
RELEASE: 
Could not find metadata org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml in local (D:\maven\apache-maven-3.5.4-bin\apache-maven-3.5.4\repository) -> [Help 1]
[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] [WARNING] Could not transfer metadata



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: