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就没法启动了。
所以要检查下究竟是什么应用程序占用这几个端口,不过大多数情况下是因为之前已经启动过一个Tomcat,而没注意到,所以端口是被占用状态。
解决办法:
(1)若端口被占用了,把另外的tomcat关闭,如果找不到,则打开任务管理器,结束"javaw.exe"这个进程,然后Tomcat就可以正常启动了。
(2)若任务管理器里没有javaw.exe这个进程,在cmd中输入:shutdown 就可以了。
(3)若shutdown 还不行,去Tomcat的bin目录下面执行startup.bat,然后shutdown.bat,就可以了。