Tomcat启动项目时报错
Description:
The Tomcat connector configured to listen on port 8000 failed to start. The port may already be in use or the connector may be misconfigured.
显然是端口占用问题,IDEA如果非正常退出(例如用任务管理器关闭),这些端口就没有被释放。
1.首先WIN+R打开运行,输入cmd进入命令行
2.使用netstat -ano|findstr "8000"查看8000端口被哪个进程占用
因篇幅问题不能全部显示,请点此查看更多更全内容