第二步:在dos窗口中输入指令:netstat -ano | findstr 8080,其中8080是指你启动该tomcat所需的,被占用的端口号;
第三步:输入 taskkill /f /pid 242508,关闭该进程即可