java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider解决方法

时间:2019-12-23 16:52:41   收藏:0   阅读:1179

因为加入了jdk的第三方安全库,需要额外配置

1.下载bcprov-jdkxx-xxx.jar

2.将bcprov-jdkxx-xxx.jar放入$JAVA_HOME/jre/lib/ext下

3.打开$JAVA_HOME/jre/lib/security下的java.security文件,在末尾加上

security.provider.x=org.bouncycastle.jce.provider.BouncyCastleProvider

https://blog.csdn.net/u014227715/article/details/77160846
https://www.cnblogs.com/castielangel/p/10303472.html

原文:https://www.cnblogs.com/antball/p/12084297.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!