the trustAnchors parameter must be non-empty(转)


原文地址: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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM