2015-04-02 37 views
0

我想在superDevMode中使用Tomcat而不是Jetty進行調試。未知的參數:-launcherDir GWT

我跟着這個教程https://www.youtube.com/watch?v=w9270Yqt-5I

我將添加的參數-launcherDir我的調試配置,但是當我跑我的配置得到一個未知arguement錯誤。

控制檯輸出

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,但我認爲它去了我腦袋一下,並沒有給予修復。

有沒有人有解決方案?

+2

呵呵「Google Web Toolkit 7.1.12」?!你使用的是哪個版本? – 2015-04-02 11:28:27

+0

我如何知道? – 2015-04-02 11:31:00

回答

-1

我來過這個問題, 刪除戰爭文件夾中的web.xml文件,並重新創建一個空白文件 修復了我的問題。

+0

爲了讓這個答案有用,你應該解釋爲什麼**解決了你的問題。 – 2015-10-01 15:02:03