真心求助!!!关于GWT项目调试时的问题,请求帮忙!!!

Tony1603 2010-12-29 08:57:14
最近开始一个GWT的项目,在调试代码时总是报错以下的错误:
Unknown argument: -style
Google Web Toolkit 2.1.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] [-extra dir] [-workDir dir] module[s]

where
-noserver Prevents the embedded web server from running
-port Specifies the TCP port for the embedded web server (defaults to 8888)
-whitelist Allows the user to browse URLs that match the specified regexes (comma or space separated)
-blacklist Prevents the user browsing URLs that match the specified regexes (comma or space separated)
-logdir Logs to a file in the given directory, as well as graphically
-logLevel The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL
-gen Debugging: causes normally-transient generated types to be saved in the specified directory
-bindAddress Specifies the bind address for the code server and web server (defaults to 127.0.0.1)
-codeServerPort Specifies the TCP port for the code server (defaults to 9997)
-server Specify a different embedded web server to run (must implement ServletContainerLauncher)
-startupUrl Automatically launches the specified URL
-war The directory into which deployable output files will be written (defaults to 'war')
-extra The directory into which extra files, not intended for deployment, will be written
-workDir The compiler's working directory for internal use (must be writeable; defaults to a system temp dir)
and
module[s] Specifies the name(s) of the module(s) to host

真心请求大虾帮忙!!感激不尽!!!
...全文
176 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
yixiaogang109 2011-03-30
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 teakey 的回复:]

这个不是问题啊,你丫不加参数就出现问题了,他是在开发模式在jvm上运行的,所以你点击网址右键选择在浏览器中打开就OK了,必须带上参数的
[/Quote]
我也出现同样的情况 代码当中并没有参数阿 怎么回事 阿?
叶山白间 2011-01-05
  • 打赏
  • 举报
回复
这个不是问题啊,你丫不加参数就出现问题了,他是在开发模式在jvm上运行的,所以你点击网址右键选择在浏览器中打开就OK了,必须带上参数的
一土草三工 2010-12-30
  • 打赏
  • 举报
回复
++1
q107770540 2010-12-30
  • 打赏
  • 举报
回复
发错地方了吧..

590

社区成员

发帖
与我相关
我的任务
社区描述
提出问题
其他 技术论坛(原bbs)
社区管理员
  • community_281
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧