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.

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。