maven PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable

网友投稿 1157 2022-09-18

maven PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable

maven PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable

本例使用maven进行sonar代码扫描的时候,url 指定的是 地址,出现了异常: Unable to execute SonarScanner analysis: Fail to get bootstrap index from server: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 从错误内容上来看,基本上一眼可以定位到是跟 证书有关,于是查找了相关文档。通过指定参数 ​​-Dmaven.wagon.-Dmaven.wagon.-Dmaven.wagon.可以跳过证书验证,这样就不会出现错误了。 (END)

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:14. Go语言流程控制:defer 延迟调用(14.00mm的美瞳算大么)
下一篇:13. Go语言流程控制:goto 无条件跳转(13.75米平板半挂车厂家价格)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~