Lucee 4.5 - Error when using encodeForHTML

I have an older app that I am trying to secure. While working on some of
the form fields, I ran into this issue:

The original code was:

When I changed it to read:

I got the following error when trying to load the page:

org.opensaml.ESAPISecurityConfig cannot be cast to
org.owasp.esapi.SecurityConfiguration

Does anyone have a clue as to what might be causing this - or where I might
find more info?

I found it - it was colliding with a shared library in my Tomcat environmentOn Wednesday, June 1, 2016 at 12:06:38 PM UTC-5, Sid Wing wrote:

I have an older app that I am trying to secure. While working on some of
the form fields, I ran into this issue:

The original code was:

When I changed it to read:

I got the following error when trying to load the page:

org.opensaml.ESAPISecurityConfig cannot be cast to
org.owasp.esapi.SecurityConfiguration

Does anyone have a clue as to what might be causing this - or where I
might find more info?