2.启动tomcat服务器错

在启动tomcat服务器的时候报错:

Starting MyTomcat  v7.0 at localhost has encountered a problem

Port 8080 required by MyTomcat v7.0 at localhost is already in use

The server may already be running in another process.........

 

解决方案如下:

方案一:因为tomcat的默认端口号是8080.你要启动它,就得使用8080

    然后如果你的计算机上安装有oracle的数据库的话,那么把oracle的监听程序给关掉(OracleServiceXEOracleXeTNSListener

 

方案二:或者你不用关闭oracle的监听程序的端口,你可以修改tomcat的端口号,改为80,这样也可以!

posted @ 2016-12-02 10:50  Deleting  阅读(205)  评论(0编辑  收藏  举报