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).
解决方法:
win+r cmd 输入 netstat -ano|findstr 8080(我的是8080被占用了)
回车后显示一行,最右边为占用端口的程序编号
输入 taskkill /pid 3760 /f
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Users\Administrator>netstat -ano|findstr 8080
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 3760
C:\Users\Administrator>taskkill /pid 3760 /f
成功: 已终止 PID 为 3760 的进程。
C:\Users\Administrator>