错误
启动Tomcat服务器报错:Several ports (8005, 8080, 8009) required by Tomcat v5.5 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).
主要原因
是tomcat在进行连接的时候关闭了编译器,导致tomcat的进程还在继续,然后端口被占用,无法启动tomcat
解决办法
在开始菜单->运行->cmd->输入 netstat -ano 查找出占用端口的PID
可以在任务管理器中进行进行结束该进程,或者在cmd的dos 输入 tskill 被占用端口号的pid