Start tomcat startup.bat flashback

When using startup.bat in the tomcat bin folder to start tomcat, it crashes

 

solution:

Add pause to the last line of the startup.bat file. When startup.bat is started again, it will get stuck. At this time, you can check what the error message is. Resolution based on error message response.

 

My own reason is that JAVA_HOME is not configured, so I can add java_home to My Computer-->Properties-->Advanced System Settings-->Environment Variables

Note: The java_home path is the path of jdk, not the path of jre.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326135813&siteId=291194637