Server Tomcat v9.0 Server at localhost failed to start问题

Server Tomcat v9.0 Server at localhost failed to start problem solution.

When we use eclipse to start Tomcat, sometimes the error message of Server Tomcat v9.0 Server at localhost failed to start will appear, resulting in the failure to start successfully. Here is a simple solution to this problem:

Question one:

insert image description here

The solution to such problems is simple:

1. First open Tomcat:
insert image description here
2. Find Server Options and check the second option:
insert image description here
3. Save and restart the project.

Question two:

insert image description here
This kind of problem is that "Tom Meow" has insufficient startup time, and it is easy to solve:

1. First, double-click to open Tomcat as above.

2. Find Timeouts and open it:

Change the original 45 to a larger value, just according to your personal wishes!

3. Save and restart the project as above.

Question three:

insert image description here
This kind of problem indicates that the port is occupied, and the solution is as follows:

(Digression: How to view the port) win+R to open the console, enter cmd to open the command line --> enter netstat -ano to view the local port --> find the column of the local address --> ":" is the local machine is using the port)

1. The same double-click to open Tomcat.

2. Find Ports and open:
insert image description here
3. Modify port:
insert image description here
You can change it to an unused port at will.

4. Save and re-run the project!

Guess you like

Origin blog.csdn.net/m0_57968978/article/details/124239061