IDEA启动debug模式报错
9:38 Error running 'tspace': Address localhost:1099 is already in use
9:38 Error running 'tspace': Unable to open debugger port (127.0.0.1:54550): java.net.SocketException "socket closed"
分析:端口被占用了。
1.方法一:cmd找到端口占用的程序,结束掉。有弊端。
2.方法二:直接在IDEA中x修改端口号。