springboot项目报错
ERROR o.s.b.d.LoggingFailureAnalysisReporter:40 restartedMain
具体情况
***************************
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 1
原因:端口8080被占用
解决方法:
在resources目录下的application.properties中修改端口
输入server.port=8020