天天看點

Eclipse啟動Tomcat錯誤:Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost are already

         eclipse啟動tomcat錯誤:

          several ports (8080,8009) required by tomcat v6.0 server at localhost are already in use. theserver may already be running in another process, or a system process may beusing the port. to

start this server you will need to stop the other process orchange the port number(s).

         可以判斷8080、8009端口已經被占用,通過以下方法,找出被哪個程序占用: 

         在指令提示符下,輸入netstat -aon | findstr 8080

Eclipse啟動Tomcat錯誤:Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost are already

          獲得該端口被pid為848的程序占用

          輸入tasklist |findstr 848:

Eclipse啟動Tomcat錯誤:Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost are already

          可以獲得目前端口被javaw.exe占用

          繼續輸入taskkill -f -im javaw.exe或taskkill /pid848 /f

           結束該程序

          再次在eclipse中啟動tomcat正常

繼續閱讀