解决eclipse中运行web项目时弹出的"Port 8080 required by Tomcat 9.0 Server at localhost is already in use...

  1、tomcat默认端口是8080,可以修改通过tomcat的端口

    修改tomcat\conf\server.xml

   

 

    

      结果运行程序,还是报"Port 8080 required by Tomcat 9.0 Server at localhost is already in use... 的错误,

   把eclipse的tomcat 去掉,重新配置,就可以了。

 

posted on 2018-04-18 15:21  shaomine  阅读(6016)  评论(0编辑  收藏  举报