Migrating log4j from 1 to 2 causing ESAPI errors
<p>I've upgraded my log4j from 1.X to 2.3.  The logging works fine. However, I'm using ESAPI and it is giving me errors now.</p>

<p>This is my ESAPI import statement:</p>

<pre><code>import org.owasp.esapi.ESAPI;
</code></pre>

<p>This is how I'm using ESAPI:</p>

<pre><code>ESAPI.encoder().encodeForHTML(somevalue)
</code></pre>

<p>The exception I'm receiving is:</p>

<pre><code>exception org.owasp.esapi.errors.ConfigurationException: java.lang.reflect.InvocationTargetException Encoder class (org.owasp.esapi.reference.DefaultEncoder) CTOR threw exception.
org.owasp.esapi.errors.ConfigurationException: java.lang.reflect.InvocationTargetException Encoder class (org.owasp.esapi.reference.DefaultEncoder) CTOR threw exception.
    at org.owasp.esapi.util.ObjFactory.make(ObjFactory.java:129) ~[esapi-2.1.0.jar:2.1.0]
    at org.owasp.esapi.ESAPI.encoder(ESAPI.java:99) ~[esapi-2.1.0.jar:2.1.0]
</code></pre>

<p>I'm using Eclipse and I'm using log4j-api-2.3.jar and log4j-core-2.3.jar</p>