【问题标题】:Unknown argument: -launcherDir GWT未知参数:-launcherDir GWT
【发布时间】:2015-06-07 07:28:19
【问题描述】:

我正在尝试使用 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 ,但我认为它有点超出我的想象并且没有给出修复。

有人有解决办法吗?

【问题讨论】:

  • 嗯“Google Web Toolkit 7.1.12”?!您实际使用的是哪个版本?

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


【解决方案1】:

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

【讨论】:

  • 为了使这个答案有用,您应该解释为您解决问题的为什么
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-06-01
  • 1970-01-01
  • 2017-10-21
  • 2016-12-15
  • 2010-11-10
  • 2014-06-09
相关资源
最近更新 更多