未知参数:-launcherDir GWT

时间:2015-04-02 11:01:36

标签: 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,但我认为它有点过头了,没有给出修复。

有人有解决方案吗?

1 个答案:

答案 0 :(得分:-1)

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