问题:Identify and stop the process that’s listening on port 8080 or configure this application to listen
解决springboot端口被占用的问题
这里显示默认端口被占用,所以需要修改端口
解决:

1.打开src\main\resources\application.properties
2.输入

server.port=8081`

解决springboot端口被占用的问题
3.启动主方法
解决springboot端口被占用的问题
运行成功,问题解决!

相关文章: