有时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