mac 解决Caused by: java.net.BindEx
2019-06-09 本文已影响0人
红豆儿首播
1. 原因:端口被占用
2. 解决方式:
(1)stop any process that's listening on port 8080
sudo lsof -i tcp:8080(找到占用8080端口的pid)
kill -15 PID
(2)configure this application to listen on another port
application.properties中添加server.port=8088