Skip to content

Encoder class (org.owasp.esapi.reference.DefaultEncoder) CTOR threw exception #751

Answered by jeremiahjstacey
ss839x asked this question in Q&A
Discussion options

You must be logged in to vote

The issue is related to your ESAPI.properties file. There are several updates to class locations and new properties that have changed since 2.0.1.

If you have not already, please look through the Releases for the project. There are some highlights pointed out there. Additionally, you can find more specific items in the Documentation Directory of the baseline -- Specifically the files ending in -release-notes.txt

The specific problem you're having is 2-fold.
Caused by: java.lang.ClassNotFoundException: org.owasp.esapi.reference.Log4JLogFactory

  1. ESAPI no longer supports Log4J 1.x
  2. The logging implementations have been moved to a new location in the baseline, so your options are either:
  • org…

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jeremiahjstacey
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #747 on October 21, 2022 18:21.