我试图在superDevMode中使用Tomcat而不是Jetty进行调试。
我遵循了本教程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,但我认为它有点超出了我的头脑,并没有给出一个解决办法。
有谁有解决办法吗?
发布于 2015-06-25 09:30:42
我解决了这个问题,删除了war文件夹中的web.xml文件,并重新创建了一个空白的文件,为我修复了这个问题。
https://stackoverflow.com/questions/29411312
复制相似问题