Weblogic - java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.JCEMac$DES9797Alg3
问题 I am working with a Java Web application and I need to generate a MAC using 3DES algorithm. Code is working without problems on a Weblogic 10.3 but the problem came when I tried to run the application in a different Weblogic, similar version (10.3.1). This is my code: public String getMac(String inkey, String data) throws Exception { byte[] out = new byte[8]; try { // if I commend this line, the result is the same Security.addProvider(new BouncyCastleProvider()); // this loop proves the BC