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了


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM