当前位置:   article > 正文

java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurityManager

java.lang.noclassdeffounderror: could not initialize class javax.crypto.jces

Make sure the following files on executing JRE is NOT corrupted/modified/deleted.

  • jre\lib\security\local_policy.jar
  • jre\lib\security\US_export_policy.jar
I had a similar issue which was caused by manually copying these two files from different java version. Resolved after replacing with original files.


解决方法是确保以上jar包没改变过,比如是替换整个jar包,替换jar包里面的class。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/136250
推荐阅读
相关标签
  

闽ICP备14008679号