Description: Web server failed to start. Port 8080 was already in use. Action: Identify and stop

在启动springboot项目时,发现错误
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.

意思是8080端口号已经被占用。
后来发现我还有另外一个项目在启动,所以解决办法有:
一、停止另外一个在运行的项目,重新启动项目,启动成功。
二、在配置文件中修改端口号,只要不是8080就可以。
Description: Web server failed to start. Port 8080 was already in use. Action: Identify and stop_第1张图片

你可能感兴趣的:(JavaWeb)