简体   繁体   English

在 eclipse 中执行 Tomcat 时面临问题

[英]Facing issue with Tomcat execution in eclipse

I tried uninstalling and reinstalling tomcat after removing the server instance from the eclipse environment.从 eclipse 环境中删除服务器实例后,我尝试卸载并重新安装 tomcat。 I spent so much time yet there is no use.我花了那么多时间也没有用。 This is the error I keep receiving.这是我不断收到的错误。 Error in the eclipse environment. eclipse环境报错。

It says that the port 8080 required by Tomcat is in use.说Tomcat需要的8080端口正在使用中。 But in port 8080 only tomcat is running.但是在端口 8080 中只有 tomcat 正在运行。 I am attaching a screenshot for the same.我附上了相同的屏幕截图。 Ports in Resource Manager.资源管理器中的端口。

Please help me resolve this issue, Thanks in advance.!!.请帮我解决这个问题,提前致谢。!!!

netstat -ano |网络统计-ano | findstr:查找字符串:

for example, use the below command in the terminal or cmd例如,在终端或 cmd 中使用以下命令

netstat -ano |网络统计-ano | findstr:8080查找字符串:8080

find the process id and then use找到进程ID然后使用

taskkill /PID /F to kill the task. taskkill /PID /F 终止任务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM