ESAPI / esapi-java-legacy

ESAPI (The OWASP Enterprise Security API) is a free, open source, web application security control library that makes it easier for programmers to write lower-risk applications.
https://owasp.org/www-project-enterprise-security-api/
Other
610 stars 368 forks source link

Error in initializing org.owasp.esapi.logging.java.JavaLogFactory. #749

Closed Somdutta closed 1 year ago

Somdutta commented 1 year ago

Hi,

I am using esapi-2.5.0.0.jar for my project. I have set ESAPI.Logger=org.owasp.esapi.logging.java.JavaLogFactory in my ESAPI.properties file. However, I am getting the error "java.lang.NoClassDefFoundError: Could not initialize class org.owasp.esapi.logging.java.JavaLogFactory".

Could you please advice.

Thanks, Somdutta.

jeremiahjstacey commented 1 year ago
  1. If creating a bug, please use the bug template provided to help us help you better.
  2. This is not a bug. This is a problem you're having integrating ESAPI. These types of questions are better posed in StackOverflow, asked as a project Discussion, or communicated through one of the mailing lists identified in the project [README0(https://github.com/ESAPI/esapi-java-legacy#references-where-to-find-more-information-on-esapi).
  3. https://github.com/ESAPI/esapi-java-legacy/wiki/Configuration-Reference:-JavaLogFactory#debugging-failed-startup You problem is most likely that you are missing esapi-java-logging.properties.