'Starting Tomcat v8.0 Server at localhost' has encountered a problem

来源:互联网 发布:java程序员职位描述 编辑:程序博客网 时间:2024/06/06 01:12

Several ports (8007, 8080, 8009) required by Tomcat v8.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).
这里写图片描述
当时我的Ecplise出现了一个这样错误,
在网上找了下资料,在根据我的经验

我是这样解决的:
解决方法:

在dos 环境下:输入 netstat -ano|findstr 8080

显示8080端口的进程:

查出是哪个进程占用8080端口之后,运行windows自带的taskkill命令,将上面的进程结束:taskkill /pid …/ f

这里写图片描述

阅读全文
0 0
原创粉丝点击