在虚拟环境,使用mvn package打包的时候,遇到了一下报错:

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

看到是证书验证报错,尝试忽略掉证书验证打包mvn -Dmaven.wagon.http.ssl.insecure=true package,可行,打包成功。

相关文章:

  • 2021-07-31
  • 2021-12-07
猜你喜欢
  • 2022-12-23
  • 2021-11-08
  • 2021-07-16
  • 2021-07-24
  • 2022-12-23
  • 2021-09-15
相关资源
相似解决方案