查询占用端口 的pid netstat -aon|findstr 8080 使用命令tasklist|findstr "PID” 查看占用的进程 杀死该进程 taskkill /im tomcat7.exe /f 来强制解除进程