转载于: https://blog.youkuaiyun.com/u013299417/article/details/72866782
Several ports (8005, 8080, 8009) required by Tomcat v8.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).

eclipse运行web时出现上述报错,这是由于你已经在外面通过starup.bat打开了tomcat,而在eclipse中运行时会再一次通过server打开Tomcat,这就造成了上面端口被占用的发中生,解决方法就是找到Tomcat的文件夹下bin文件夹然后双击shutdown.bat关闭Tomcat后再在eclipse中运行即可。
本文解决了一个常见的问题:在Eclipse中运行Web项目时遇到的Tomcat端口冲突错误。当Tomcat已在外部通过startup.bat启动,再次在Eclipse中尝试启动时,会出现端口被占用的错误。文章提供了详细的解决方案,包括如何正确关闭已运行的Tomcat进程,确保Eclipse可以成功启动Tomcat。
3654

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



