eclipse启动tomcat报错'Start Tomcat v8.0 Server at localhost' has encountered a problem.

错误:Start Tomcat v8.0 Server at localhost' has encountered a problem.Port 8080 required by Tomcat v8.0 Server at localhost is 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).

分析:eclipse启动tomcat是出现以下错误。根据具体描述Port 8080 required by Tomcat v8.0 Server at localhost is already in use.可以知道,是8080端口被占用。

解决方案一:

1.进入DOS模式,使用 netstat -aon|findstr "8080"  来查看 8080 端口使用情况。

 

可以看出8080端口被 PID号为10464的程序占用。

2.使用命令 tskill 10464 杀死进程 10464 

此时可以看到端口不再被占用。

 

解决方案二:

进入tomcat的配置文件。

将8080端口修改为没有被占用的端口号即可。 

  • 2
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值