码迷,mamicode.com
首页 > 其他好文 > 详细

IDEA unable to find valid certification path to requested target

时间:2019-12-24 13:27:26      阅读:90      评论:0      收藏:0      [点我收藏+]

标签:cer   target   cep   png   yun   could not   VID   class   plugins   

一、报错

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

标签:cer   target   cep   png   yun   could not   VID   class   plugins   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!