1.cmd下输入命令:netstat -ano | findstr 8080(8080修改为被占用的端口号) 2.然后运行taskkill /pid 15320 /f (15320为对应的进程号) 就没问题了!!!