0
回答
Cipher.getInstanceAIX系统报错
【腾讯云】校园拼团福利,1核2G服务器10元/月!>>>   
Caused by: java.security.NoSuchAlgorithmException: No such algorithm: DES/ECB/PKCS5Padding
    at java.lang.Throwable.<init>(Throwable.java:80)
    at javax.crypto.Cipher.getInstance(Unknown Source)
    at javax.crypto.Cipher.getInstance(Unknown Source)
    at com.csii.ibs.transfer.action.MCipher.getSrcBytes(MCipher.java:56)
    at com.csii.ibs.transfer.action.MCipher.getEncodeString(MCipher.java:77)
    at com.csii.ibs.transfer.action.SignManager.cipherEncode(SignManager.java:53)
    at com.csii.ibs.transfer.action.NonTaxPaymentAction.submit(NonTaxPaymentAction.java:271)
    ... 34 common frames omitted
Caused by: java.security.NoSuchAlgorithmException: Cipher DES implementation not found: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.JCEBlockCipher$DES
    at java.security.Provider$Service$1.run(Provider.java:834)
    at java.security.Provider$Service$1.run(Provider.java:823)
    at java.security.AccessController.doPrivileged(AccessController.java:202)
    at java.security.Provider$Service.newInstance(Provider.java:821)

    ... 40 common frames omitted

以上是错误日志

定位在这里报错,Cipher cipher = Cipher.getInstance("DES/ECB/PKCS5Padding","BC");

windows系统tomcat没问题,但AIX系统weblogic就报错了,jdk版本都是6.0。

求大神给个思路,跪谢!!!

举报
顶部