1.打开小黑窗; 2.查询占用tomcat启动的端口的进程: netstat -ano | findstr 8080
3.杀掉这个进程: taskkill /F /PID 2222
4.以上操作完成即可关掉tomcat;