You are using latest GWT, but ancient Guava. Upgrade your Guava version to something more recent, and this will go away.
On Tuesday, January 2, 2018 at 11:22:25 AM UTC-6, BM wrote: > > We recently upgraded our project from GWT 2.6.1 to GWT 2.8.2. > > We running java version: 1.8.0_144 > Guava-gwt: 15 > > Getting following errors during compilation. > > ERROR] Errors in > 'jar:file:/Users/XXXX/.m2/repository/com/google/guava/guava-gwt/15.0/guava-gwt-15.0.jar!/com/google/common/collect/super/com/google/common/collect/GwtPlatform.java' > [INFO] [ERROR] Line 38: The method createFrom(T[], int) is undefined > for the type Array > [INFO] Tracing compile failure path for type > 'com.google.common.collect.GwtPlatform' > [INFO] [ERROR] Errors in > 'jar:file:/Users/XXXX/.m2/repository/com/google/guava/guava-gwt/15.0/guava-gwt-15.0.jar!/com/google/common/collect/super/com/google/common/collect/GwtPlatform.java' > [INFO] [ERROR] Line 38: The method createFrom(T[], int) is > undefined for the type Array > [INFO] [ERROR] Hint: Your source appears not to live underneath a > subpackage called 'client'; no problem, but you'll need to use the <source> > directive in your module to make it accessible > [INFO] [ERROR] Errors in > 'jar:file:/Users/XXXX/.m2/repository/com/google/guava/guava-gwt/15.0/guava-gwt-15.0.jar!/com/google/common/collect/StandardTable.java' > [INFO] [ERROR] Line 467: The method removeIf(Predicate<? super > Map.Entry<R,V>>) in the type Collection<Map.Entry<R,V>> is not applicable > for the arguments (Predicate<Object>) > [INFO] [ERROR] Line 467: Type mismatch: cannot convert from > Predicate<Object> to Predicate<? super Map.Entry<R,V>> > [INFO] [ERROR] Line 487: The method removeIf(Predicate<? super > Map.Entry<R,V>>) in the type Collection<Map.Entry<R,V>> is not applicable > for the arguments (Predicate<capture#13-of ?>) > [INFO] [ERROR] Line 487: Type mismatch: cannot convert from > Predicate<capture#13-of ?> to Predicate<? super Map.Entry<R,V>> > [INFO] [ERROR] Line 533: The method removeIf(Predicate<? super R>) > in the type Collection<R> is not applicable for the arguments > (Predicate<Map.Entry<R,?>>) > [INFO] [ERROR] Line 548: The method removeIf(Predicate<? super V>) > in the type Collection<V> is not applicable for the arguments > (Predicate<Map.Entry<?,V>>) > [INFO] [ERROR] Line 552: The method removeIf(Predicate<? super V>) > in the type Collection<V> is not applicable for the arguments > (Predicate<Map.Entry<?,V>>) > [INFO] [ERROR] Line 556: The method removeIf(Predicate<? super V>) > in the type Collection<V> is not applicable for the arguments > (Predicate<Map.Entry<?,V>>) > [INFO] Tracing compile failure path for type > 'com.google.common.collect.StandardTable' > [INFO] [ERROR] Errors in > 'jar:file:/Users/XXXX/.m2/repository/com/google/guava/guava-gwt/15.0/guava-gwt-15.0.jar!/com/google/common/collect/StandardTable.java' > [INFO] [ERROR] Line 556: The method removeIf(Predicate<? super > V>) in the type Collection<V> is not applicable for the arguments > (Predicate<Map.Entry<?,V>>) > [INFO] [ERROR] Line 487: The method removeIf(Predicate<? super > Map.Entry<R,V>>) in the type Collection<Map.Entry<R,V>> is not applicable > for the arguments (Predicate<capture#13-of ?>) > [INFO] [ERROR] Line 467: Type mismatch: cannot convert from > Predicate<Object> to Predicate<? super Map.Entry<R,V>> > [INFO] [ERROR] Line 467: The method removeIf(Predicate<? super > Map.Entry<R,V>>) in the type Collection<Map.Entry<R,V>> is not applicable > for the arguments (Predicate<Object>) > [INFO] [ERROR] Line 487: Type mismatch: cannot convert from > Predicate<capture#13-of ?> to Predicate<? super Map.Entry<R,V>> > [INFO] [ERROR] Line 533: The method removeIf(Predicate<? super > R>) in the type Collection<R> is not applicable for the arguments > (Predicate<Map.Entry<R,?>>) > [INFO] [ERROR] Line 548: The method removeIf(Predicate<? super > V>) in the type Collection<V> is not applicable for the arguments > (Predicate<Map.Entry<?,V>>) > [INFO] [ERROR] Line 552: The method removeIf(Predicate<? super > V>) in the type Collection<V> is not applicable for the arguments > (Predicate<Map.Entry<?,V>>) > > > Any idea what's causing this? I haven't found any much info on this. > > Thank you in advance. > > > > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
