英文:
Facing Issue: java.lang.NoClassDefFoundError: org/bouncycastle/jcajce/JcaJceHelper when using the updated BC jar
问题
我之前在项目中使用的是bcprov-ext-jdk15on-150.jar
这个jar包,现在由于一些问题,我必须将BC(Bouncy Castle)的jar包更新为bcprov-ext-jdk15on-1.64.jar
。但是在我们添加了更新后的jar包之后,我遇到了以下问题:
java.lang.NoClassDefFoundError: org/bouncycastle/jcajce/JcaJceHelper
我已经尝试了在谷歌上找到的每一个解决方案,但都没有成功。我尝试过查找依赖关系,但没有找到任何有用的解决方案。我进一步调查发现,类JcaJceHelper
位于更新后的jar包的util
文件夹下,但不知道如何解决这个问题。
非常感谢您的帮助。
英文:
I was using bcprov-ext-jdk15on-150.jar
jar in my project, now due to some issues I have to update the BC jar to bcprov-ext-jdk15on-1.64.jar
.
But When we added updated jar I faced the issue
java.lang.NoClassDefFoundError: org/bouncycastle/jcajce/JcaJceHelper
I have tried every solution that I found on google but not succeeded. I have tried to find out the dependencies but did not get any helpful solution. I further investigated and found that the class JcaJceHelper
exits under util
folder of updated jar but don't know how to fix the issue.
Any help will be appreciated
专注分享java语言的经验与见解,让所有开发者获益!
评论