启动服务报:
***************************
APPLICATION FAILED TO START
***************************
Description:
The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured.
Action:
Verify the connector's configuration, identify and stop any process that's listening on port 8080, or configure this application to listen on another port.
没有启动过其他服务占用8080端口呀,一脸懵。
另外启动一个服务是报错:Caused by: java.net.BindException: Address already in use: bind 也是这个原因。
解决方案:查找8080端口被谁占用,干掉它。
1、已管理员的身份运行 cmd窗口
2、输入命令: netstat -ano 找到占用端口号8080,对应的PID 为 1608