【BUG日记】【Idea】运行Spring项目报错 “Web server failed to start. Port 8080 was already in use.”(二)

【日期】: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进程

发布了34 篇原创文章 · 获赞 13 · 访问量 531

猜你喜欢

转载自blog.csdn.net/qq_43263647/article/details/105374261