zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    spring注解开发AnnotationConfigApplicationContext的使用
    java.rmi.server.ExportException: Port already in use: 1099; nested exception is
    mac 入门操作
    postgreSql 常用查询总结
    Tomcat专题
    Java反射
    notepad++ jstool 插件安装
    Java集合
    Java 集合并交补
    C++回调函数(callback)的使用
  • 原文地址:https://www.cnblogs.com/kofxxf/p/4205872.html
Copyright © 2011-2022 走看看