首页 新闻 会员 周边

用IDEA创建maven项目报错

0
[待解决问题]

[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: Could not transfer artifact org.apache.maven.plugins:maven-archetype-plugin:pom:3.0.1 from/to nexus-aliyun (https://maven.aliyun.com/repository/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [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]
[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/PluginResolutionException
[ERROR] Maven execution terminated abnormally (exit code 1)

用IDEA创建项目的时候一直报这个错误,网上看了好多解决办法,都是在maven的settings.xml文件中加阿里云镜像,也加过了,但这个问题依然存在,求大佬指教!!!

東来東往的主页 東来東往 | 菜鸟二级 | 园豆:202
提问于:2021-01-09 22:34
< >
分享
所有回答(1)
0
ycyzharry | 园豆:25653 (高人七级) | 2021-01-10 22:03

试过了,还是不行,报同样的错误

支持(0) 反对(0) 東来東往 | 园豆:202 (菜鸟二级) | 2021-01-12 19:00
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册