使用eclipse的时候出现这个问题:
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).
这是因为已经启动了tomcat,只是在eclipse里面看不到。
这时只需要找到tomcat的目录,在bin文件夹里面找到shutdown.bat执行一下,再去eclipse里面启动tomcat就成功了!

当在Eclipse中启动Tomcat服务器时遇到端口冲突,提示8005, 8080, 8009等端口已被使用。这通常是因为Tomcat已经在另一个进程中运行,或者系统其他程序占用了这些端口。解决方法是先到Tomcat的bin目录下执行shutdown.bat停止服务器,然后在Eclipse中重新启动Tomcat即可正常运行。

3万+

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



