Hey,
You need to use guava version 20-SNAPSHOT.
This is the maven entry:
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>20.0-SNAPSHOT</version>
</dependency>
On 09/08/16 17:46, Velusamy Velu wrote:
--The errors became serious when attempted to build the project. Here is a sample subset of errors-[java] Tracing compile failure path for type 'com.google.common.collect.LinkedHashMultimap'[java] [ERROR] Errors in 'jar:file:/I:/Code/Labs/war/WEB-INF/lib/guava-gwt-19.0.jar!/com/google/common/collect/super/com/google/common/collect/LinkedHashMultimap.java'[java] [ERROR] Line 25: The import com.google.j2objc cannot be resolved[java] [ERROR] Line 303: WeakOuter cannot be resolved to a type[java] Tracing compile failure path for type 'com.google.common.collect.FilteredMultimapValues'[java] [ERROR] Errors in 'jar:file:/I:/Code/Labs/war/WEB-INF/lib/guava-gwt-19.0.jar!/com/google/common/collect/FilteredMultimapValues.java'[java] [ERROR] Line 40: Weak cannot be resolved to a type[java] [ERROR] Line 23: The import com.google.j2objc cannot be resolved[java] Tracing compile failure path for type 'com.google.common.collect.StandardTable'[java] [ERROR] Errors in 'jar:file:/I:/Code/Labs/war/WEB-INF/lib/guava-gwt-19.0.jar!/com/google/common/collect/StandardTable.java'[java] [ERROR] Line 202: WeakOuter cannot be resolved to a type[java] [ERROR] Line 569: WeakOuter cannot be resolved to a type[java] [ERROR] Line 853: WeakOuter cannot be resolved to a type[java] [ERROR] Line 453: WeakOuter cannot be resolved to a type[java] [ERROR] Line 767: WeakOuter cannot be resolved to a type[java] [ERROR] Line 818: WeakOuter cannot be resolved to a type[java] [ERROR] Line 923: WeakOuter cannot be resolved to a type[java] [ERROR] Line 542: WeakOuter cannot be resolved to a type[java] [ERROR] Line 34: The import com.google.j2objc cannot be resolved[java] [ERROR] Line 513: WeakOuter cannot be resolved to a type[java] [ERROR] Line 614: WeakOuter cannot be resolved to a type[java] [ERROR] Line 743: WeakOuter cannot be resolved to a type
On Tuesday, August 9, 2016 at 4:27:59 PM UTC-4, Velusamy Velu wrote:I started using Guava with my GWT application and ran into this benign message when starting the server in Eclipse.Ignored 28 units with compilation errors in first pass.
These two inherits were added my gwt.xml file<inherits name="com.google.common.collect.Collect" />
<inherits name="com.google.common.base.Base" />
Any idea why?
Thanks
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment