我一直在尝试使用Eclipse Helios安装Apache Tomcat 7来尝试Web应用程序。 但我无法运行webcontents
。它在Eclipse中给出以下消息:在本地主机上启动tomcat7有错误
Several ports (8090, 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,但问题仍未解决。 我可以在浏览器中看到Apache Tomcat/7.0.27。
(如果你使用windows)尝试查杀正在运行的tomcat,然后在eclipse中启动它杀死它:TASKKILL/F/IM java.exe/T – Daniel 2012-04-16 12:26:12
@Daniel请告诉我命令。它有错误:TASKKILL/F/IM java.exe/T在cmd中。 – Mohsen 2012-04-16 12:32:06
@Mohsen我不知道你有没有其他服务器旁边的tomcat ...我的命令应该杀死正在运行的tomcat(在我的Windows tomcat进程名为java.exe) – Daniel 2012-04-16 12:48:02