admin 管理员组文章数量: 886993
【IDEA】 导入maven项目报错 Could not transfer artifact com.XX.XX:XX(PKIX path building failed)
目录
- 背景
- 问题
- 解决
- 反思
背景
虽然标题貌似跟证书PKIX有关,实则没有半毛钱关系。昨晚上整理电脑的文件夹,将项目文件夹移动了位置,今天上午开完公司站会就开始车祸现场,一直到下午一点才解决。┭┮﹏┭┮
问题
idea 导入maven项目报错,错误信息如下:
2020-03-10 12:42:14,606 [ 138105] INFO - #org.jetbrains.idea.maven - [WARNING] Failure to transfer XXX-api-dependencies:0.0.1-SNAPSHOT/maven-metadata.xml from was cached in the local repository, resolution will not be reattempted until the update interval of nexus-releases has elapsed or updates are forced. Original error: Could not transfer metadata XXX-api-dependencies:0.0.1-SNAPSHOT/maven-metadata.xml from/to nexus-releases (): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2020-03-10 12:42:14,656 [ 138155] INFO - #org.jetbrains.idea.maven - org.apache.maven.model.resolution.UnresolvableModelException: Failure to transfer XXX-api-dependencies:pom:0.0.1-SNAPSHOT from was cached in the local repository, resolution will not be reattempted until the update interval of nexus-releases has elapsed or updates are forced. Original error: Could not transfer artifact XXX-api-dependencies:pom:0.0.1-SNAPSHOT from/to nexus-releases (): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
java.lang.RuntimeException: org.apache.maven.model.resolution.UnresolvableModelException: Failure to transfer XXX-api-dependencies:pom:0.0.1
本文标签: IDEA 导入maven项目报错 Could not transfer artifact comXXXXXX(PKIX path building failed)
版权声明:本文标题:【IDEA】 导入maven项目报错 Could not transfer artifact com.XX.XX:XX(PKIX path building failed) 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.freenas.com.cn/jishu/1732355658h1534360.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论