我正在尝试使用 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)
我注意到Intellij IDEA有一个类似的问题GWT 插件,但我认为它有点超出我的想象,并且没有给出修复。
有人有解决方案吗?