有時eclipse運行時出現異常,須要使用 任務管理器 強行中止時,再啓動eclipse,啓動Tomcat時報錯以下:apache
Several ports (8080, 8080) required by Tomcat v6.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
解決方案是:打開Tomcat的安裝目錄,找到bin文件夾(如路徑 C:\apache-tomcat-7.0.64\bin)下的shutdown.bat,運行該文件。重啓Tomcat即正常。eclipse
參考:http://stackoverflow.com/questions/5064733/several-ports-8005-8080-8009-required-by-tomcat-server-at-localhost-are-alreui