Eclipse常见错误及解决方案

来源:互联网 发布:ubuntu amd双显卡切换 编辑:程序博客网 时间:2024/05/05 10:44

一、Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost are already in use.解决办法

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).

1、在dos下,输入  netstat   -ano|findstr  8080 
//说明:查看占用8080端口的进程,显示占用端口的进程

2、taskkill  /pid  1952  /f 
//说明,运行windows自带taskkill命令,将上面显示的进程号,结束掉。
搞定
  1. Server Tomcat v7.0 Server at localhost failed to start.
  1. 清理tomcat
  2. 移除应用并清理tomcat
  3. 删除server并重建
还不行就重新启动电脑
  1. 修改eclipse端口

步骤1:双击服务器,出现如上页面。
步骤2:修改遇到冲突的端口。
步骤3:HTTP/1.1 这个端口,默认是8080 ,就是你项目运行的端口,改成80 为缺省配置,就是,如果不输入端口,默认就是80端口。
原创粉丝点击