Maven:PKIX路径构建失败 [英] Maven : PKIX path building failed
问题描述
Maven构建抛出此异常
Maven build throwing this exception
无法在项目mdf-portal-3rdParty上执行目标:无法 解决项目的依赖关系 com.alu.ipprd.bsm.soa:mdf-portal-3rdParty:jar:0.0.1-SNAPSHOT:失败 收集依赖 com.alu.ipprd.bsm.soa.portal.soo:common:jar:0.0.1-SNAPSHOT:失败 读取的工件描述符 com.alu.ipprd.bsm.soa.portal.soo:common:jar:0.0.1-SNAPSHOT:无法 转移神器 com.alu.ipprd.bsm.soa.portal.soo:common:pom:0.0.1-SNAPSHOT从/到 googlecode.com ( http://gmaps4jsf.googlecode.com/svn/trunk/gmaps4jsf-repo): sun.security.validator.ValidatorException:PKIX路径构建失败: sun.security.provider.certpath.SunCertPathBuilderException:无法执行 找到到所请求目标的有效认证路径-> [帮助1]
Failed to execute goal on project mdf-portal-3rdParty: Could not resolve dependencies for project com.alu.ipprd.bsm.soa:mdf-portal-3rdParty:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at com.alu.ipprd.bsm.soa.portal.soo:common:jar:0.0.1-SNAPSHOT: Failed to read artifact descriptor for com.alu.ipprd.bsm.soa.portal.soo:common:jar:0.0.1-SNAPSHOT: Could not transfer artifact com.alu.ipprd.bsm.soa.portal.soo:common:pom:0.0.1-SNAPSHOT from/to googlecode.com (http://gmaps4jsf.googlecode.com/svn/trunk/gmaps4jsf-repo): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
我没有对pom.xml文件进行任何更改,从SVN更新后突然出现了此异常.
I did not made any single change in pom.xml file ,suddenly after taking update from SVN i am getting this exception.
我想知道
- 此问题的原因是什么?
- 此问题是由于SVN服务器中的任何更改引起的吗?
- 即使本地计算机没有任何变化,为什么此构建失败错误?
- Gmaps4jsf存储库出了点问题?(可能是由于Google代码关闭了)
推荐答案
您需要在jre安装中添加ssl证书
you need to add ssl certificate to your jre installation
请参考此答案并按照步骤操作!
Please refer this answer and follow steps!
第1步-获取根CA证书
Step 1 - Get Root CA certificate
第2步-在jre cacerts文件中安装该证书
Step 2 - install that certificate at jre cacerts file
这篇关于Maven:PKIX路径构建失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!