在 stackoverflow 社区中找到:
How do I resolve the “java.net.BindException: Address already in use: JVM_Bind” error?
解决:
If you know what port the process is running you can type: lsof -i:<port>
.
For instance, lsof -i:8080
, to list the process (pid) running on port 8080.
Then kill the process with kill <pid>