zoukankan      html  css  js  c++  java
  • myeclipse2015不能启动tomcat,提示: Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at local

     

    myeclipse2015不能启动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).

    今天我们来说说Myeclipse使用本地安装的tomcat开发过程中遇到的问题

    上面这个问题都知道是端口被占用导致的问题,在网上也看了许多,就是没有看到一个好的解决,都不管用,今天我们来说说是怎么回事。

    首先我们在Myeclipse中配置一个tomcat服务 使用时自己安装的不是Myeclipse自带的。

    配置自己的tomcat 

    进行去后进行相应的配置,配置网上很多,不会的可以在网上查找。配置后我们的项目有了一个自己的server,这个server是全新的。配置信息与我们本地安装的tomcat配置是一样的。使用这个来运行项目就会报该错误。

    解决: 
    进入本地tomcat的安装目录找到 tomcat安装目录/conf/server.xml 
    编辑,把8005, 8080, 8009全部改为8885, 8888, 8889,重新运行项目就ok了

  • 相关阅读:
    ubuntu下安装maven
    159.Longest Substring with At Most Two Distinct Characters
    156.Binary Tree Upside Down
    155.Min Stack
    154.Find Minimum in Rotated Sorted Array II
    153.Find Minimum in Rotated Sorted Array
    152.Maximum Product Subarray
    151.Reverse Words in a String
    150.Evaluate Reverse Polish Notation
    149.Max Points on a Line
  • 原文地址:https://www.cnblogs.com/zhangzhifeng/p/5070335.html
Copyright © 2011-2022 走看看