我在运行 gwt 应用程序时遇到以下错误。
java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:205) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:304) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:672) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811) at com.google.gwt.dev.DevMode.main(DevMode.java:311)
请帮我解决这个问题
最佳答案
您必须停止所有正在运行的实例。如果您确实单击了红色按钮,您只会停止一个实例。您必须选择“开发模式”选项卡,单击左下角(项目名称),然后选中所有实例。
关于java - 运行 gwt 应用程序时出现 BindException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12858333/