Eclipse 上跑 Tomcat 時遇到的問題,錯誤訊息如下:

 

'Starting Tomcat v6.0 Server at localhost' has encountered a problem.

Several ports (8005, 8080, 8009) 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,重新執行 Eclipse 上的 Tomcat 就可以了。因為你正在執行的 Tomcat 佔掉 8080 port 了

創作者介紹
創作者 好同學的部落格 的頭像
toyangel

好同學的部落格

toyangel 發表在 痞客邦 留言(1) 人氣( 2185 )