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
org.apache.juli.FileHandler.directory = ${catalina.base}/logs
org.apache.juli.FileHandler.prefix = error-debug.
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
After that, you will see the real cause of the error.