Facing Issue: java.lang.NoClassDefFoundError: org/bouncycastle/jcajce/JcaJceHelper when using the updated BC jar

huangapple 未分类评论43阅读模式
英文:

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

huangapple
  • 本文由 发表于 2020年4月5日 01:11:05
  • 转载请务必保留本文链接:https://java.coder-hub.com/61031781.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定