GWT开发模式错误

时间:2014-04-07 09:09:24

标签: java exception gwt inetaddress development-mode

当我尝试执行项目时,即使是默认的" Web应用程序项目",我收到此错误:

INFO: Module instance default is running at localhost:8888 apr 07, 2014 9:02:46 AM com.google.appengine.tools.development.AbstractModule startup INFO: The admin console is running at localhost:8888/_ah/admin apr 07, 2014 11:02:46 AM com.google.appengine.tools.development.DevAppServerImpl doStart INFO: Dev App Server is now running Exception in thread "Code server listener" java.lang.IllegalArgumentException: invalid host wildcard specification at java.net.SocketPermission.init(Unknown Source) at java.net.SocketPermission.(Unknown Source) at java.lang.SecurityManager.checkConnect(Unknown Source) at java.net.InetAddress.getHostFromNameService(Unknown Source) at java.net.InetAddress.getCanonicalHostName(Unknown Source) at com.google.gwt.dev.shell.BrowserListener$1.run(BrowserListener.java:78)

如何解决此错误? 感谢。

1 个答案:

答案 0 :(得分:1)

首次成功运行后,您是否收到此错误?如果是,则停止已经运行的服务器实例,然后重新启动服务器。