Fork me on Gitee

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target java 解决办法

在打包时给vm加一个参数:

-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

  

 

posted @ 2021-10-18 11:26  JoePotter  阅读(434)  评论(0编辑  收藏  举报
``