tomcat-SEVERE: Error listenerStart and startup failed due

created at 07-06-2021 views: 155

problem description

Start tomcat error

org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart //Report an error
org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/******] startup failed due to previous errors //error report

Successfully started

Report an error //Actually, before this, it has already failed

The startup fails, the error you see is not a real error, and the essential error is not printed.


Because before the error was reported, other errors were actually reported, but they were not printed out.


Create a new file in the project classes directory under the tomcat deployment directory


handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler  
org.apache.juli.FileHandler.level = FINE = ${catalina.base}/logs  
org.apache.juli.FileHandler.prefix = error-debug.   
java.util.logging.ConsoleHandler.level = FINE  

After that, you will see the real cause of the error.

created at:07-06-2021
edited at: 07-06-2021: