Hi guys, upgrading guava definitely solves the problem. I was using guava 14.0.1 and GWT 2.5.1. I upgraded to GWT 2.6.1 and encountered that same problem. Afterwards I upgraded to guava 17.0 and everything is going fine. Cheers!
On Friday, November 8, 2013 10:01:01 PM UTC+2, Michael Hirsch wrote: > > When I compile my app with gwt-2.6.0-rc1, I get complaints about guava-gwt: > [ERROR] Errors in > 'jar:file:/home/mhirsch/.gradle/caches/artifacts-24/filestore/com.google.guava/guava-gwt/14.0.1/jar/de1f56fc5149d9e80c0e5107493370db2fa2d5e9/guava-gwt-14.0.1.jar!/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java' > [ERROR] Line 112: Name clash: The method copyOf(Map<? extends K,? > extends V>) of type ImmutableSortedMap<K,V> has the same erasure as > copyOf(Map<? extends K,? extends V>) of type ImmutableMap<K,V> but does not > hide it > [ERROR] Errors in > 'jar:file:/home/mhirsch/.gradle/caches/artifacts-24/filestore/com.google.guava/guava-gwt/14.0.1/jar/de1f56fc5149d9e80c0e5107493370db2fa2d5e9/guava-gwt-14.0.1.jar!/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java' > [ERROR] Line 140: Name clash: The method copyOf(Collection<? > extends E>) of type ImmutableSortedSet<E> has the same erasure as > copyOf(Collection<? extends E>) of type ImmutableSet<E> but does not hide it > [ERROR] Line 145: Name clash: The method copyOf(Iterable<? > extends E>) of type ImmutableSortedSet<E> has the same erasure as > copyOf(Iterable<? extends E>) of type ImmutableSet<E> but does not hide it > [ERROR] Line 150: Name clash: The method copyOf(Iterator<? > extends E>) of type ImmutableSortedSet<E> has the same erasure as > copyOf(Iterator<? extends E>) of type ImmutableSet<E> but does not hide it > > I'm not sure if I can use guava 15. Errai pulls in version 14, I think. > > Michael > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.