**从年后这个问题就一直没解决,因为本人疫情期间都在弄比较老的项目,所以也并不是很需要连接远程仓库。
这个问题报错信息是
Could not transfer artifact (jar包的坐标) from/to alimaven (http://maven.aliyun.com/nexus/content/repositories/central/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
**在idea设置maven证书。问题解决。
-Xmx768m -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
修改一下下面的JDK版本。
相关文章: