问题
报错误:
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
在本地主机被Tomcat V8.0
服务器所需的几个端口(8080,8009)已在使用。服务器可能已经在另一个进程中运行,或一系统过程可使用的端口。要启动该服务器,需要停止其他进程或更改端口号码。
解决方法
1. cmd:netstat -ano|findstr 8080
查看占用8080端口的进程
2. taskkill /pid xxx/f
将进程xxx结束掉
3. 重启tomcat