运行Spring Boot的时候报错:Web server failed to start. Port 8080 was already in use.
启动Spring boot项目的时候报错,错误如下:
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端口被占用了
解决方案有二:
一、修改端口号