1. 程式人生 > >Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost

Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost

使用eclipse的時候出現這個問題: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).

這是因為已經啟動了tomcat,只是在eclipse裡面看不到。

這時只需要找到tomcat的目錄,在bin資料夾裡面找到shutdown.bat執行一下,再去eclipse裡面啟動tomcat就成功了!