java.lang.SecurityException: JCE cannot authenticate the provider BC
2017-09-11 09:51
1211 查看
1.调试过程中报错:java.lang.SecurityException: JCE cannot authenticate the provider BC
这个问题百度是解决不了的,是google解决的,google里面有一篇解释很清楚完整的博客,原文地址:http://download.csdn.net/detail/tomliguocai/3945936
膜拜大神
以下是具体的解决方法:
1. 在java下找到 jre/lib/security/java.security,添加一行代码:
security.provider.9=org.bouncycastle.jce.provider.BouncyCastleProvider //这里的9,视具体情况而定,你可能是是10,11...
2.添加2个扩展包到jre/lib/ext目录下:bcprov-jdk15-135.jar bcprov-jdk16-143.jar
3.把你的class path中的有的BC的扩展包都删除
这个问题百度是解决不了的,是google解决的,google里面有一篇解释很清楚完整的博客,原文地址:http://download.csdn.net/detail/tomliguocai/3945936
膜拜大神
以下是具体的解决方法:
1. 在java下找到 jre/lib/security/java.security,添加一行代码:
security.provider.9=org.bouncycastle.jce.provider.BouncyCastleProvider //这里的9,视具体情况而定,你可能是是10,11...
2.添加2个扩展包到jre/lib/ext目录下:bcprov-jdk15-135.jar bcprov-jdk16-143.jar
3.把你的class path中的有的BC的扩展包都删除
相关文章推荐
- 运行jar包出现问题:java.lang.SecurityException: JCE cannot authenticate the provider BC
- java.lang.SecurityException: JCE cannot authenticate the provider BC
- java.lang.SecurityException: JCE cannot authenticate the provider BC
- java.lang.SecurityException: JCE cannot authenticate the provider BC
- java.lang.SecurityException: JCE cannot authenticate the provider BC
- JCE cannot authenticate the provider BC
- Decipher加密工具报错:JCE cannot authenticate the provider BC 解决方法
- JCE cannot authenticate the provider BC
- JCE cannot authenticate the provider BC
- JCE cannot authenticate the provider BC
- JCE cannot authenticate the provider BC
- java.lang.SecurityException: Filter of class org.apache.catalina.ssi.SSIFilter is privileged and cannot be loaded by this web application
- java.security.NoSuchAlgorithmException: Cannot find any provider supporting DES 解决方案
- Will not attempt to authenticate using SASL (java.lang.SecurityException: 无法定位登录配置)
- java.lang.SecurityException: Permission Denial: opening provider的解决方法
- Caused by: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://...
- java.security.NoSuchProviderException: no such provide:BC
- Eclipse下调试HBase程序报“Will not attempt to authenticate using SASL (java.lang.SecurityException : 无法定位登”
- 当Android的API升级到19以后,发现一些使用Provider时抛 java.lang.SecurityException: Permission Denial: opening provide
- java.lang.SecurityException: caller uid 10039 is different than the authenticator's uid