文章目录
小结
将IntelliJ工程拷贝到新的机器中,返回Maven编译返回找不到有效证书的问题,进行了解决。
问题及解决
找不到有效证书
将IntelliJ工程拷贝到新的机器中,返回Maven编译返回找不到有效证书的问题,具体报错如下:
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target and 'parent.relativePath' points at wrong local POM
首先下载证书, 点这个锁,并点击’Connection is Secure’:

点这个证书:

点"Detail"并对相应的证书进行下载:

下载后通过以下指令对证书进行导入(以下显示先前已经导入过了):
C:\Users\John Xiong\.jdks\temurin-11.0.2

最低0.47元/天 解锁文章
844

被折叠的 条评论
为什么被折叠?



