由于Unknown参数,GWT DevMode不会运行:-module

时间:2014-07-13 17:22:43

标签: eclipse gwt

我正在尝试在Eclipse SDK下的DevMode中运行一个GWT项目,我得到以下错误消息,尽管我的调试/运行配置明确说明了GWT选项卡中的模块名称,并且提供了-module param程序参数:

Unknown argument: -module
Google Web Toolkit 2.5.1
DevMode [-noserver] [-port port-number | "auto"] [-whitelist whitelist-string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-bindAddress host-name-or-address] [-codeServerPort port-number | "auto"] [-server servletContainerLauncher[:args]] [-startupUrl url] [-war dir] [-deploy dir] [-extra dir] [-workDir dir] module[s] 
where
[...]
module[s]        Specifies the name(s) of the module(s) to host

非常感谢任何形式的帮助。

1 个答案:

答案 0 :(得分:1)

更密切地阅读使用信息:module[s]并不代表-module。看看如何,例如,您可以阅读-logLevel level而不是-module modules。模块名称前面没有-module开关,它们只是作为最后一个参数列出。