码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2019-12-23 17:06:22      阅读:242      评论:0      收藏:0      [点我收藏+]

标签:error   解决方法   detail   tle   lib   lang   htm   jar   http   

因为加入了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

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

标签:error   解决方法   detail   tle   lib   lang   htm   jar   http   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!