问题描述
Several ports (8005, 8080, 8009) required by Tomcat v8.5 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).
原因:
端口8005, 8080, 8009被占用了。可能是在打开Tomcat的情况下关闭了Eclipse,或是Eclipse非正常关闭,导致先前的Tomcat没有被关闭,端口占用。
解决办法
- 方法一:
2.方法二
3.方法三
PS:
小编用的方法3,不过此方法需要重启电脑,所以有查找了两篇解决tomcat端口被占用的解决方法,以供参考。