错误产生环境
启动SpringBoot 项目是产生
错误描述
***************************
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.
错误原因
8080端口被占用了
解决办法
1.不用8080端口,修改成其他端口,以下我修改为8081端口
server:
port: 8081
启动成功
2.杀死占用8080端口的应用
(这种方法自行百度吧)