Java常见异常

1、java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available

Exception in thread "main" java.lang.AssertionError: java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available
        at de.schlichtherle.license.PrivacyGuard.getCipherUnknown Source)
        at de.schlichtherle.license.PrivacyGuard.getCipher4DecryptionUnknown Source)
        at de.schlichtherle.license.PrivacyGuard.key2certUnknown Source)
        at de.schlichtherle.license.LicenseManager.installUnknown Source)
        at com.intple.esr.license.EsrLicenseManager.installLicenseFileEsrLicenseManager.java:146)
        at com.intple.esr.license.EsrLicenseManager.verifyEsrLicenseManager.java:46)
        at de.schlichtherle.license.LicenseManager.verifyUnknown Source)
        at com.intple.esr.bootstrap.Bootstrap.checkLicenseBootstrap.java:95)
        at com.intple.esr.bootstrap.Bootstrap.mainBootstrap.java:203)
Caused by: java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available
        at javax.crypto.SecretKeyFactory.<init>DashoA13*..)
        at javax.crypto.SecretKeyFactory.getInstanceDashoA13*..)
        ... 9 more

把j文件 sunjce_provider.jar 拷贝到Java_Home/jre/lib/ext.

Published by

风君子

独自遨游何稽首 揭天掀地慰生平