我尝试在Eclipse SDK下运行DevMode中的GWT项目,并收到以下错误消息,尽管我的调试/运行配置在GWT选项卡中清楚地指定了模块名称,并且在程序参数中提供了-module参数:
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任何形式的帮助都将不胜感激。
发布于 2014-07-14 03:02:53
更仔细地阅读用法信息:module[s]并不意味着-module。例如,你可以读取-logLevel level,但不能读取-module modules。模块名称前面没有-module开关,它们只是按原样作为最后一个参数列出。
https://stackoverflow.com/questions/24725305
复制相似问题