Web server failed to start. Port 8099 was already in use.

Web server failed to start. Port 8099 was already in use.

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-06-26 22:27:54.406 ERROR 12212 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

***************************
APPLICATION FAILED TO START
***************************

Description:

Web server failed to start. Port 8099 was already in use.

Action:

Identify and stop the process that's listening on port 8099 or configure this application to listen on another port.

問題:該項目對應服務器端口被佔用
解決措施:查看端口對應的進程,並殺掉進程
查看進程:

netstat -ano | findstr "端口號"

在這裏插入圖片描述
殺掉進程:

taskkill -PID 4492 -F

在這裏插入圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章