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.getCipher(Unknown Source)
        at de.schlichtherle.license.PrivacyGuard.getCipher4Decryption(Unknown Source)
        at de.schlichtherle.license.PrivacyGuard.key2cert(Unknown Source)
        at de.schlichtherle.license.LicenseManager.install(Unknown Source)
        at com.intple.esr.license.EsrLicenseManager.installLicenseFile(EsrLicenseManager.java:146)
        at com.intple.esr.license.EsrLicenseManager.verify(EsrLicenseManager.java:46)
        at de.schlichtherle.license.LicenseManager.verify(Unknown Source)
        at com.intple.esr.bootstrap.Bootstrap.checkLicense(Bootstrap.java:95)
        at com.intple.esr.bootstrap.Bootstrap.main(Bootstrap.java:203)
Caused by: java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available
        at javax.crypto.SecretKeyFactory.<init>(DashoA13*..)
        at javax.crypto.SecretKeyFactory.getInstance(DashoA13*..)
        ... 9 more

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

Published by

风君子

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

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注