Found a simple way to identify the problem.
-
In your
WEB-INF/classesdirectory of the application, make a new file:logging.properties. -
Add the following in that file:
org.apache.catalina.core.ContainerBase.[Catalina].level=INFO org.apache.catalina.core.ContainerBase.[Catalina].handlers=java.util.logging.ConsoleHandler
- Restart tomcat.
Now you’ll have the complete stacktrace and debug the problem from there on.
For a Maven Build
- Create a new
logging.propertiesin thesrc/main/resourcesdirectory of the module - Add these entries into that new file
org.apache.catalina.core.ContainerBase.[Catalina].level=INFO org.apache.catalina.core.ContainerBase.[Catalina].handlers=java.util.logging.ConsoleHandler
- Run
mvn clean install - Restart Tomcat