1 of 1 people found this helpful
I assume "com.sun.crypto.provider.AESCipher" and "javax.crypto.CipherSpi" are both bundled in the JDK/JRE. Does your app bundle any JAR file which contains one of those two classes? The error message sounds like a classloading conflict.
Yes, you are right. This was precisely the error. I had bcprov-jdk13-132.jar in my lib folder that contains a conflicting class version of javax.crypto.Cipher that JRE already has in jce.jar.
Why couldnt JBoss 6 resolve conflicting jars issue like others servers do?