0 0

Gwt中 Unknown argument: -style问题 求解10

Gwt-ext环境刚配置完,写了一个简单的例子,就出现了下面这个错误,解决不了!请大牛指教

Unknown argument: -style
Google Web Toolkit 2.1.1
GWTShell [-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"] [-out dir] [url]

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)
  -out             The directory to write output files into (defaults to current)
and
  url              Automatically launches the specified URL


 

DemoCntrlPnl.java类内容如下
 public class DemoCntrlPnl implements EntryPoint {

	public void onModuleLoad() {
		Panel pnlPanel = new Panel();
		pnlPanel.setTitle("Hello lingyibin's first GWT-ext");
		pnlPanel.setHtml("<b>Hello ling</b>");
		
		new Viewport(pnlPanel);
	}

}

 

 

 

问题补充:ok,我去试试,谢了!<div class="quote_title">wangying95599 写道</div><div class="quote_div">把那个“Generated JavaScript Style”改一个值试试,gwt的属性就这是style</div> <br />
GWT 
2011年1月06日 10:11

2个答案 按时间排序 按投票排序

0 0

把那个“Generated JavaScript Style”改一个值试试,gwt的属性就这是style

2011年1月20日 13:14
0 0

引用
Unknown argument: -style


不识别的参数,没有这种-style。换成别的命令字试试呀

2011年1月06日 10:35

相关推荐

Global site tag (gtag.js) - Google Analytics