Tomcat问题:[1]Tomcat启动报错

Eclipse 中的Tomcat插件启动时报如下错误:
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).
这该如何解决呢?

操作方法

  • 01

    使用情况:当时正启动着Tomcat,但Eclipse挂掉了。 结果:‘任务管理器’-->‘结束任务’了,但再启动Tomcat时就报错了。

  • 02

    错误信息: 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).

  • 03

    信息大致意思是Tomcat7服务端口已经被占用。 那该怎么办呢? 在确定没有启动别的服务的情况,按如下方法就能解决了。

  • 04

    右击任务栏,启动‘任务管理器’,选择‘进程’选项卡,找到‘javaw.exe’进程,点击‘结束进程’即可。

  • 05

    再次启动Tomcat就可以了。

  • 06

    另一种方法,进入Tomcat安装目录,找到bin文件夹下的‘shutdown.bat’,双击运行它就可以了。

  • 07

    再次启动就可以了。

(0)

相关推荐