【日期】:2020/4/7
【问题】:续上次修改端口后(Idea运行Spring项目报错 “Web server failed to start. Port 8080 was already in use.”(一)),重启后,又发现新的错误。
APPLICATION FAILED TO START
Description:
Web server failed to start. Port 8080 was already in use.
Action:
Identify and stop the process that’s listening on port 8080 or configure this application to listen on another port.
Process finished with exit code 0
【原因】:tomcat 9.0服务自动启动
【如何发现】:偶然发现,理性分析
【如何修复】:关闭tomcat服务自动启动就好了. (如何关闭(启动)自动启动的tomcat进程)