Home >Operation and Maintenance >Apache >How to solve tomcat crash problem

How to solve tomcat crash problem

王林
王林Original
2020-07-09 16:13:308372browse

The method to solve the tomcat crash problem is: first, open the start.bat and shutdown.bat files; then, add the configuration [JAVA_HOME] and [TOMCAT_HOME] in the file; finally, restart tomcat.

How to solve tomcat crash problem

Problem introduction:

(Recommended learning: apache from entry to master)

In When deploying and starting a project on windows, tomcat will flash for a moment and then exit.

Solution:

Edit the start.bat and shutdown.bat files, and add the following two lines of code at the top of these two files;

SET JAVA_HOME=C:\Program Files\Java\jdk1.8.0_162
SET TOMCAT_HOME=D:\tomcat\apache-tomcat-8.0.52-src

Setup completed After that, restart tomcat.

The above is the detailed content of How to solve tomcat crash problem. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn