ImAlexzxD / owasp-esapi-java

Automatically exported from code.google.com/p/owasp-esapi-java
Other
0 stars 0 forks source link

Could not initialize class org.owasp.esapi.reference.crypto.JavaEncryptor #266

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using the esapi-2.0.1.jar from maven center, and encounter the following 
exception when trying to use the encryptor:

java.lang.NoClassDefFoundError: Could not initialize class 
org.owasp.esapi.reference.crypto.JavaEncryptor
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at org.owasp.esapi.util.ObjFactory.make(ObjFactory.java:74)
        at org.owasp.esapi.ESAPI.encryptor(ESAPI.java:106)

The server we're using is tomcat 6. 

But, another instance running fine, with the same code and server 
configuration. I'm very curious about this issue and just want to know the 
reason why this happen so I want to open a ticket for the answer.

Original issue reported on code.google.com by jgnan198...@gmail.com on 14 Mar 2012 at 2:58