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