win+R命令输入cmd打开命令行窗口,输入 netstat -aon|findstr 1099 或 netstat -aon|findstr 8080,查看端口占用情况
输入taskkill -f -pid 52696 成功终止tomcat服务.