原文地址:https://zhuanlan.zhihu.com/p/103177882

Maven Error: (repeated) java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

 

近期在公司使用cordova打包app的时候一直报错

 

找了非常多的方法

 

发现这个是java的问题,java的证书过期了

 

解决方法

去官网下载一个java tar格式的java开发包

然后把\jre\lib\security\cacerts

cacerts

相关文章: