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就成功了!




  • 相关阅读:
    jquery.stop()停止动画
    字符串转义
    CSS规范 (命名)- 分类方法
    inline-block 间距
    jquery中offset(),position()
    PHP把数组转换为JSON字符串
    json对象
    C#-静态实例
    C#-readonly与const区别
    SQL-事务隔离级别与锁
  • 原文地址:https://www.cnblogs.com/hanjun0612/p/9779816.html
Copyright © 2011-2022 走看看