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

后端 未结 5 1367
南旧
南旧 2021-01-06 06:36
java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurityManager
    javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2543)
    java         


        
5条回答
  •  一个人的身影
    2021-01-06 07:06

    Try the following steps:

    1. Uninstall all old versions of Java, and keep only one version(preferably latest version of JDK)
    2. If manual entries of old java environment path is set, remove them eg) JAVA_HOME, PATH
    3. Point the IDE (eg. Eclipse) to the latest version of JDK
    4. Revert to original jar files in the JDK/JRE if modified earlier by manual steps
    5. Click 'Check of update' from java installation on the system/PC

提交回复
热议问题