How to solve tomcat crash problem

王林
Release: 2020-07-09 16:14:15
Original
8231 people have browsed it

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!