使用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就成功了!