问题:Identify and stop the process that’s listening on port 8080 or configure this application to listen
这里显示默认端口被占用,所以需要修改端口
解决:
1.打开src\main\resources\application.properties
2.输入
server.port=8081`
3.启动主方法
运行成功,问题解决!
问题:Identify and stop the process that’s listening on port 8080 or configure this application to listen
这里显示默认端口被占用,所以需要修改端口
解决:
1.打开src\main\resources\application.properties
2.输入
server.port=8081`
3.启动主方法
运行成功,问题解决!
相关文章: