Troubleshooting
Problem
Deploying a web application on v10.3 Application Platform and this web application has some references to org.owasp.esapi.* classes.
It was earlier conveyed that esapi-2.0.1.jar will be provided at run time by Application Platform so have not added any esapi jar into the web application libs folder.
However, now getting 'class not found exception' for esapi classes as shown below:
"java.lang.ClassNotFoundException: org.owasp.esapi.errors.ValidationException
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1291)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)"
If esapi-2.0.1.jar is included then get the following exception:
"Classcast Exception:
java.lang.ClassCastException: org.apache.log4j.Logger
incompatible with org.owasp.esapi.Logger"
Document Location
Worldwide
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
19 March 2025
UID
ibm17190183