I haven't gotten Tomcat for a long time, and this problem has been solved before. Today I want to use Tomcat to configure SSL, but it can't be started. It kept flashing back, it was fine before, why did it flash back? Make a note of the solution so you can forget it later.
The bin directory under the Tomcat installation path, such as mine: E:\apache-tomcat-8.0.23\bin
, find startup.bat, right-click to find the editor, or open it with other editors. to the end, the
call "%EXECUTABLE%" start %CMD_LINE_ARGS%
Change it to:
call "%EXECUTABLE%" run %CMD_LINE_ARGS%
In this way, start under cmd and enter the bin directory, startup.bat. If there is an error in Tomcat startup, an error message will be displayed.