中途强制关闭了一次eclipse,后来再次运行Tomcat报错:Several ports (8005, 8080, 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).
意思就是已经启动了该服务,我们要手动关闭才能继续启用该服务。查询过网上的资料,例如杀死进程什么的都比较麻烦。可以直接找到tonmat下的shutdown.bat (推荐使用everything工具查找)点击运行一下,然后再去eclipse里启动就可以了。

本文解决了一个常见的Eclipse开发环境中Tomcat服务端口冲突问题,提供了快速找到并运行tomcat下shutdown.bat的方法,以便释放被占用的端口,重新在Eclipse中成功启动Tomcat服务。
3656

被折叠的 条评论
为什么被折叠?



