首页 > 其他 > 详细

IDEA unable to find valid certification path to requested target

时间:2019-12-24 13:33:42      阅读:1304      评论:0      收藏:0      [点我收藏+]

一、报错

Could not transfer artifact org.apache.maven.plugins:maven-install-plugin:pom:2.4 from/to alimaven (https://maven.aliyun.com/repository/central): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

二、解决

添加参数

-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

技术分享图片

IDEA unable to find valid certification path to requested target

原文:https://www.cnblogs.com/shwang/p/12090894.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!