Tomcat端口号被占用Several ports (8005, 8080, 8009) required by Tomcat v8.0 Server解决方案

Tomcat端口号Several ports (8005, 8080, 8009) required by Tomcat v8.0 Server at localhost are already in use问题

 

在启动Tomcat时,出现以下错误!

Several ports (8005, 8080, 8009) required by Tomcat v8.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s). 

                           Tomcat端口号被占用Several ports (8005, 8080, 8009) required by Tomcat v8.0 Server解决方案_第1张图片

 

分析缘由:eclipse运行web时出现上述报错,这是由于你已经在外面通过starup.bat打开了tomcat,而在eclipse中运行时会再一次通过server打开Tomcat,这就造成了上面端口被占用的发中生!

解决办法:找到Tomcat的文件夹下bin文件夹然后双击shutdown.bat关闭Tomcat后再在eclipse中运行即可。

你可能感兴趣的:(Eclipse导入常见错误)