GWT编译警告
当我试图编译我的GWT项目时,我得到以下警告:GWT编译警告,gwt,Gwt,当我试图编译我的GWT项目时,我得到以下警告: Specify -logLevel DEBUG to see all errors. [java] [WARN] Unknown type 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in deferred binding rule [java] Scanning for
Specify -logLevel DEBUG to see all errors.
[java]
[WARN] Unknown type 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in deferred binding rule
[java] Scanning for additional dependencies: jar:file:<GWT_PATH>/2.4.0/gwt-user.jar!/com/google/gwt/cell/client/ButtonCellBase.java
[java] Computing all possible rebind results for 'com.google.gwt.cell.client.ButtonCellBase.DefaultAppearance.Template'
[java] Rebinding com.google.gwt.cell.client.ButtonCellBase.DefaultAppearance.Template
[java] Invoking generator com.google.gwt.safehtml.rebind.SafeHtmlTemplatesGenerator
[java] Constructing interface com.google.gwt.cell.client.ButtonCellBase.DefaultAppearance.Template
[java] Generating method body for iconContentLayout()
[java]
[WARN] Template with variable in CSS attribute context: The template code generator cannot guarantee HTML-safety of the template -- please inspect manually or use Safe
Styles to specify arguments in a CSS attribute context
[java]
[WARN] Template with variable in CSS attribute context: The template code generator cannot guarantee HTML-safety of the template -- please inspect manually or use Safe
Styles to specify arguments in a CSS attribute context
[java] Generating method body for iconWrapper()
[java]
[WARN] Template with variable in CSS attribute context: The template code generator cannot guarantee HTML-safety of the template -- please inspect manually or use Safe
Styles to specify arguments in a CSS attribute context
[java]
[WARN] Template with variable in CSS attribute context: The template code generator cannot guarantee HTML-safety of the template -- please inspect manually or use Safe
Styles to specify arguments in a CSS attribute context
[java] Compiling 6 permutations
[java] Compiling permutation 0...
[java] Compiling permutation 1...
[java] Compiling permutation 2...
[java] Compiling permutation 3...
[java] Compiling permutation 4...
指定-logLevel调试以查看所有错误。
[爪哇]
[警告]在延迟绑定规则中指定了未知类型“com.google.gwt.editor.client.SimpleBaneditorDriver”
[java]扫描其他依赖项:jar:file:/2.4.0/gwt-user.jar/com/google/gwt/cell/client/ButtonCellBase.java
[java]计算'com.google.gwt.cell.client.ButtonCellBase.DefaultAppearance.Template'的所有可能重新绑定结果
[java]重新绑定com.google.gwt.cell.client.ButtonCellBase.DefaultAppearance.Template
[java]调用生成器com.google.gwt.safehtml.rebind.SafeHtmlTemplatesGenerator
[java]构建接口com.google.gwt.cell.client.ButtonCellBase.DefaultAppearance.Template
[java]为iconContentLayout()生成方法体
[爪哇]
[WARN]CSS属性上下文中带变量的模板:模板代码生成器无法保证模板的HTML安全性--请手动检查或使用Safe
用于在CSS属性上下文中指定参数的样式
[爪哇]
[WARN]CSS属性上下文中带变量的模板:模板代码生成器无法保证模板的HTML安全性--请手动检查或使用Safe
用于在CSS属性上下文中指定参数的样式
[java]为iconWrapper()生成方法体
[爪哇]
[WARN]CSS属性上下文中带变量的模板:模板代码生成器无法保证模板的HTML安全性--请手动检查或使用Safe
用于在CSS属性上下文中指定参数的样式
[爪哇]
[WARN]CSS属性上下文中带变量的模板:模板代码生成器无法保证模板的HTML安全性--请手动检查或使用Safe
用于在CSS属性上下文中指定参数的样式
[java]编译6个排列
[java]正在编译置换0。。。
[java]编译排列1。。。
[java]编译排列2。。。
[java]编译排列3。。。
[java]编译排列4。。。
有人能帮我解决这个警告吗?警告告诉你使用
style='{theStyle}'
当样式是安全样式的实例时,不要使用style='width:{theWidth}'
之类的东西进行CSS格式化。我的项目中有很多文件。我怎么知道这个警告是从哪里来的。你能给我举个例子吗。我一直在设置如下样式:Button newbtn=new Button();newbtn.setStyleName(“style1”);可能重复的