exception – Finding the issue of java.lang.NoClassDefFoundError: org/apache/catalina/valves/ValveBase

exception – Finding the issue of java.lang.NoClassDefFoundError: org/apache/catalina/valves/ValveBase

Your mistake was adding catalina.jar to WEB-INF/lib. You should not set the CLASSPATH environment variable.

If you write a Valve, the Valve itself needs to be in Tomcats lib/ directory. You cant deploy a Valve along with your web application.

exception – Finding the issue of java.lang.NoClassDefFoundError: org/apache/catalina/valves/ValveBase

Leave a Reply

Your email address will not be published. Required fields are marked *