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
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
本文标题:mac 解决Caused by: java.net.BindEx
本文链接:https://www.haomeiwen.com/subject/obonxctx.html
网友评论