“Several ports (8005, 8080, 8009) required by Tomcat v7.0 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).”如何解决这个问题?
运行JSP程序时,出现此问题的原因是:这几个端口已经有某个应用程序占用了,所以Tomcat就没法启动了。
解决办法:把另外的tomcat关闭,如果找不到,则打开任务管理器,结束"javaw.exe"这个进程,就没问题了。