eclipse - 未知参数 : -launcherDir GWT

标签 eclipse tomcat gwt gwt-super-dev-mode

我正在尝试使用 Tomcat 而不是 Jetty 在 superDevMode 中进行调试。

我遵循了本教程 https://www.youtube.com/watch?v=w9270Yqt-5I

我将参数 -launcherDir 添加到我的调试配置中,但是当我运行该配置时,我收到了一个未知的参数错误。

控制台输出

    Unknown argument: -launcherDir
Google Web Toolkit 7.1.12
CodeServer [-noprecompile] [-compileTest] [-bindAddress address] [-port port] [-workDir dir] [-allowMissingSrc] [-src dir] [module]

where 
    -noprecompile     Disables pre-compilation of modules.
    -compileTest      Just compile the modules and exit.
    -bindAddress      The ip address of the code server. Defaults to 127.0.0.1.
    -port             The port where the code server will run.
    -workDir          The root of the directory tree where the code server willwrite compiler output. If not supplied, a temporary directorywill be used.
    -allowMissingSrc  Disables the directory existence check for -src flags.
    -src              A directory containing GWT source to be prepended to the classpath for compiling.
and 
module            The GWT modules that the code server should compile. (Example: com.example.MyApp)

我注意到一个类似的问题 GWT plugin for Intellij IDEA ,但我认为它超出了我的理解范围,没有给出修复。

有人有解决办法吗?

最佳答案

我遇到了这个问题, 删除war文件夹中的web.xml文件,重新创建一个空白的 为我解决了这个问题。

关于eclipse - 未知参数 : -launcherDir GWT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29411312/

相关文章:

eclipse - 独立的 Aptana Git 插件

java内存分配失败(eclipse xp dell)

java - 在Linux中使用tess4j部署Web应用程序

java - Tomcat 5(s) 中的目录结构

具有多模块 Maven 项目的 GWT ServiceLocator

java - 使用 ANT 构建时出现 "Build Failed: failed to create task or type classpath"

android - Android下如何使用Akka项目

java - 调用 RPC 时出错 - GWT,404 服务器响应状态为 404(未找到)

java - GWT GIN 提供程序编译错误

gwt - GWT 中引发 NoSuchMethod 异常