windows电脑解决方案 1.先查看被占用的端口 netstat -ano | findstr :7947 #7947是你被占用的端口号 2.效果: 3.接着 taskkill /F /pid 10324 # 看你最右边那个端口 4.提示 5.重新运行项目