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.