我正在使用gwt-mosaic 0.4.0-rc4。 mvn gwt:compile
之后我有以下错误:
[INFO] --- gwt-maven-plugin:2.3.0-1:compile (default) @ ... ---
[INFO] auto discovered modules [...]
[WARNING] Don't declare gwt-dev as a project dependency. This may introduce complex dependency conflicts
[INFO] Compiling module ...
[INFO] Validating newly compiled units
[INFO] [WARN] Warnings in 'jar:file:/home/seyz/.m2/repository/com/googlecode/gwtmosaic/gwt-mosaic/0.4.0-rc4/gwt-mosaic-0.4.0-rc4.jar!/org/gwt/mosaic/ui/client/impl/GlassPanelImpl.java'
[INFO] [WARN] Line 52: Referencing deprecated class 'com.google.gwt.user.client.impl.DocumentRootImpl'
[INFO] [WARN] Line 60: Referencing deprecated class 'com.google.gwt.user.client.impl.DocumentRootImpl'
[INFO] Scanning for additional dependencies: jar:file:/home/seyz/.m2/repository/com/googlecode/gwtmosaic/gwt-mosaic/0.4.0-rc4/gwt-mosaic-0.4.0-rc4.jar!/org/gwt/mosaic/core/client/DOM.java
[INFO] Computing all possible rebind results for 'org.gwt.mosaic.core.client.impl.DOMImpl'
[INFO] Rebinding org.gwt.mosaic.core.client.impl.DOMImpl
[INFO] Could not find an exact match rule. Using 'closest' rule <replace-with class='org.gwt.mosaic.core.client.impl.DOMImplIE8'/> based on fall back values. You may need to implement a specific binding in case the fall back behavior does not replace the missing binding
[INFO] Rebinding org.gwt.mosaic.core.client.impl.DOMImpl
[INFO] Could not find an exact match rule. Using 'closest' rule <replace-with class='org.gwt.mosaic.core.client.impl.DOMImplIE8'/> based on fall back values. You may need to implement a specific binding in case the fall back behavior does not replace the missing binding
[INFO] Scanning for additional dependencies: jar:file:/home/seyz/.m2/repository/com/googlecode/gwtmosaic/gwt-mosaic/0.4.0-rc4/gwt-mosaic-0.4.0-rc4.jar!/org/gwt/mosaic/core/client/UserAgent.java
[INFO] Computing all possible rebind results for 'org.gwt.mosaic.core.client.impl.UserAgentImpl'
[INFO] Rebinding org.gwt.mosaic.core.client.impl.UserAgentImpl
[INFO] Could not find an exact match rule. Using 'closest' rule <replace-with class='org.gwt.mosaic.core.client.impl.UserAgentImplIE6'/> based on fall back values. You may need to implement a specific binding in case the fall back behavior does not replace the missing binding
[INFO] Rebinding org.gwt.mosaic.core.client.impl.UserAgentImpl
[INFO] Could not find an exact match rule. Using 'closest' rule <replace-with class='org.gwt.mosaic.core.client.impl.UserAgentImplIE6'/> based on fall back values. You may need to implement a specific binding in case the fall back behavior does not replace the missing binding
[INFO] Scanning for additional dependencies: jar:file:/home/seyz/.m2/repository/com/googlecode/gwtmosaic/gwt-dnd/0.4.0-rc4/gwt-dnd-0.4.0-rc4.jar!/com/allen_sauer/gwt/dnd/client/util/DOMUtil.java
[INFO] Computing all possible rebind results for 'com.allen_sauer.gwt.dnd.client.util.impl.DOMUtilImpl'
[INFO] Rebinding com.allen_sauer.gwt.dnd.client.util.impl.DOMUtilImpl
[INFO] Could not find an exact match rule. Using 'closest' rule <replace-with class='com.allen_sauer.gwt.dnd.client.util.impl.DOMUtilImplIE6'/> based on fall back values. You may need to implement a specific binding in case the fall back behavior does not replace the missing binding
[INFO] Rebinding com.allen_sauer.gwt.dnd.client.util.impl.DOMUtilImpl
[INFO] Could not find an exact match rule. Using 'closest' rule <replace-with class='com.allen_sauer.gwt.dnd.client.util.impl.DOMUtilImplIE6'/> based on fall back values. You may need to implement a specific binding in case the fall back behavior does not replace the missing binding
[INFO] Scanning for additional dependencies: jar:file:/home/seyz/.m2/repository/com/googlecode/gwtmosaic/gwt-mosaic/0.4.0-rc4/gwt-mosaic-0.4.0-rc4.jar!/org/gwt/mosaic/ui/client/GlassPanel.java
[INFO] Computing all possible rebind results for 'org.gwt.mosaic.ui.client.impl.GlassPanelImpl'
[INFO] Rebinding org.gwt.mosaic.ui.client.impl.GlassPanelImpl
[INFO] Could not find an exact match rule. Using 'closest' rule <replace-with class='org.gwt.mosaic.ui.client.impl.GlassPanelImplIE6'/> based on fall back values. You may need to implement a specific binding in case the fall back behavior does not replace the missing binding
[INFO] Rebinding org.gwt.mosaic.ui.client.impl.GlassPanelImpl
[INFO] Could not find an exact match rule. Using 'closest' rule <replace-with class='org.gwt.mosaic.ui.client.impl.GlassPanelImplIE6'/> based on fall back values. You may need to implement a specific binding in case the fall back behavior does not replace the missing binding
[INFO] Compiling 12 permutations
...
你知道这些错误是什么意思吗?
答案 0 :(得分:2)
这些都是警告,而不是错误。第一个,打印两次只表示被引用的类在最新的gwt版本中被弃用,并且在将来的版本中可能不存在,因此库应该删除它的使用。
所有其他消息表明已添加IE9支持,并且您的库没有IE9支持。因此,编译器正在使用另一版本的IE代码构建IE9构建。