zoukankan      html  css  js  c++  java
  • Several ports (8005, 8080, 8009) required by Tomcat

    转载:http://blog.csdn.net/tomoto_zh/article/details/51931945


    先找到Java项目中  Servers找到Server.xml然后

    把8005, 8080, 8009全部改为8885, 8888, 8889,重新运行项目就ok了。

    (为了避免麻烦,我连同Tomcat 9.0conf中的server.xml文件也一起改了。)

    -----------------------------------------------------------------------------------

    如果在遇到这个问题:


    使用eclipse的时候出现这个问题: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).

    这是因为已经启动了tomcat,只是在eclipse里面看不到。

    这时只需要找到tomcat的目录,在bin文件夹里面找到shutdown.bat执行一下,再去eclipse里面启动tomcat就成功了!




  • 相关阅读:
    curl常用选项
    cuda
    mysql 备份文件.xbstream 恢复到本地
    firewall 常用命令(update...)
    ownCloud 研究笔记(update...)
    V3
    English trip EM3-LP-3A ROOMMATES Teacher:Corrine
    V3
    English trip EM3-LP-5A Shopping Teacher:Taylor
    新概念 Lesson 11 Which book?
  • 原文地址:https://www.cnblogs.com/hanjun0612/p/9779816.html
Copyright © 2011-2022 走看看