PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilder
生活随笔
收集整理的這篇文章主要介紹了
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilder
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
一.問題描述:pom.xml導(dǎo)入依賴時(shí)報(bào)錯(cuò)
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilder
二.解決方法:
1.加入ali鏡像源
<repositories><repository><id>maven-ali</id><url>https://maven.aliyun.com/repository/public</url><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy><checksumPolicy>fail</checksumPolicy></snapshots></repository></repositories>2.修改maven配置
在構(gòu)建工具maven中的importing中的導(dǎo)入器的vm選項(xiàng)加上:
參考文獻(xiàn):
https://blog.csdn.net/dancingCherr/article/details/106627466
感謝樓主分享!
總結(jié)
以上是生活随笔為你收集整理的PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilder的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: java 读取webapp文件_在Jav
- 下一篇: 因子分析累计贡献率_spss教程:因子分