关于Eclipsed的Tomcat启动报错的解决方案

错误:Several ports (8005, 8080, 8009) required by Tomcat v7.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).

解决方案:

1、打开Dos命令窗口

2、在Dos下输入netstat -ano|finder 8080    //说明:此命令用来查看占用8080端口的进程,显示占用端口的进程


3、例如上图,2704进程占用了8080端口,

     taskkill /pid 2704 /f                            //说明,运行windows自带taskkill命令,将上面显示的进程号,结束掉。


4、完成后即可终止占用8080端口的进程,在Eclipse中Tomcat即可正常启动

猜你喜欢

转载自blog.csdn.net/ZYZMZM_/article/details/80880745
今日推荐