简体   繁体   English

在Eclipse中运行时发生GWT错误

[英]GWT error while running in eclipse

When i'm trying to run gwt through eclipsc it showing the error like, 当我尝试通过eclipsc运行gwt时,显示如下错误:

** **

Could not open the requested socket: Address already in use Try overriding --address and/or --port. 无法打开请求的套接字:地址已在使用中尝试覆盖--address和/或--port。

** **

An error like that means there is already a process running on that port, it might have crashed and may be dead thus it does not show up in your browser when you search it. 这样的错误意味着该端口上已经有一个进程在运行,它可能已崩溃并且可能已死,因此当您搜索它时它不会显示在浏览器中。 You need to stop that process, here are several commands 您需要停止该过程,这是几个命令

if you are running linux then run several lines in your console 如果您正在运行linux,则在控制台中运行几行

get all applications running on port [need their pid] 使所有应用程序在端口上运行[需要其pid]

sudo lsof -w -n -i tcp:8888

kill applications running on port 杀死端口上运行的应用程序

sudo kill -9 pidnumber

If windows then just: 如果是Windows,则只需:

Find the pid for the dead process that particular port 查找特定端口的死进程的pid

netstat -a -o -n

to kill the process 杀死进程

taskkill /F /PID <pid>

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

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