GWT 中的 "Development mode is loading..." 和 "Waiting for launch URLs"

"Development mode is loading..." and "Waiting for launch URLs" in GWT

我是 GWT 的初学者,正在尝试 运行 来自 http://www.vogella.com/tutorials/GWT/article.html. I installed the GWT plugin for Eclipse Kepler 4.3 and downloaded GWT SDK 2.3 的示例 HelloWorld 程序。在 Eclipse 中配置 SDK 时,出现 "gwt-codeserver.jar is missing" 错误,所以我下载了 "gwt-codserver-2.5" jar 并将其复制到 SDK文件夹,它修复了丢失的 jar 问题。

然后我 运行 我的应用程序通过右键单击项目并选择 运行 As -> "Web application"。现在,我没有在开发模式选项卡中获得 url,而是显示 "Development mode is loading...." 和 "Waiting for launch URLs" 消息不断,之后什么也没有发生。在控制台中,我收到以下消息。 请帮忙解决这个问题。

    Unknown Argument: -superDevMode
    DevMode [-[no]startServer] [-port port-number | "auto"] [-whitelist whitelist-string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-bindAddress host-name-or-address] [-codeServerPort port-number | "auto"] [-server servletContainerLauncher[:args]] [-startupUrl url] [-war dir] [-deploy dir] [-extra dir] [-workDir dir] [-sourceLevel [auto, 1.6, 1.7]] module[s] 

    where 
      -[no]startServer  Starts a servlet container serving the directory specified by the -war flag. (defaults to ON)
      -port             Specifies the TCP port for the embedded web server (defaults to 8888)
      -whitelist        Allows the user to browse URLs that match the specified regexes (comma or space separated)
      -blacklist        Prevents the user browsing URLs that match the specified regexes (comma or space separated)
      -logdir           Logs to a file in the given directory, as well as graphically
      -logLevel         The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL
      -gen              Debugging: causes normally-transient generated types to be saved in the specified directory
      -bindAddress      Specifies the bind address for the code server and web server (defaults to 127.0.0.1)
      -codeServerPort   Specifies the TCP port for the code server (defaults to 9997)
      -server           Specify a different embedded web server to run (must implement ServletContainerLauncher)
      -startupUrl       Automatically launches the specified URL
      -war              The directory into which deployable output files will be written (defaults to 'war')
      -deploy           The directory into which deployable but not servable output files will be written (defaults to 'WEB-INF/deploy' under the -war directory/jar, and may be the same as the -extra directory/jar)
      -extra            The directory into which extra files, not intended for deployment, will be written
      -workDir          The compiler's working directory for internal use (must be writeable; defaults to a system temp dir)
      -sourceLevel      Specifies Java source level (defaults to auto:1.7)
    and 
      module[s]         Specifies the name(s) of the module(s) to host

这两个错误(缺少 gwt-codeserver 和未知参数)都暗示 Google Eclipse 插件没有正确检测到您正在使用的 GWT SDK 的版本。

GWT 2.3 现在真的很旧,所以我建议尝试使用 GWT 2.7。当您开始使用 GWT 时,最好从 SuperDevMode 开始,而不是浪费时间尝试使 DevMode 与最新的浏览器一起工作。注意:这意味着您将从浏览器中调试,而不是您的 IDE(除非您从 https://sdbg.github.io 安装 SDBG 插件)