Discussion:
compilation error with 2.8.0-SNAPSHOT (guava problem)
Norbert Sándor
2016-04-10 14:06:01 UTC
Permalink
Hello,

I use the latest gwt-2.8.0-snapshot + guava-20.0-snapshot.
When I perform GWT compilation in Eclipse (by directly calling the Compiler
from a launch config) everything works as expected.
But when I compile using gwt-maven-plugin, the following error is raised:

[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
[INFO] [ERROR] Line 2880: The method and(Predicate<capture#253-of ?
super Map.Entry<K,V>>, Predicate<capture#254-of ? super Map.Entry<K,V>>) is
undefined for the type Predicates
[INFO] [ERROR] Line 3134: The method and(Predicate<capture#255-of ?
super Map.Entry<K,V>>, Predicate<capture#256-of ? super Map.Entry<K,V>>) is
undefined for the type Predicates
[INFO] Tracing compile failure path for type
'com.google.common.collect.Maps'
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
[INFO] [ERROR] Line 2880: The method and(Predicate<capture#253-of
? super Map.Entry<K,V>>, Predicate<capture#254-of ? super Map.Entry<K,V>>)
is undefined for the type Predicates
[INFO] [ERROR] Line 3134: The method and(Predicate<capture#255-of
? super Map.Entry<K,V>>, Predicate<capture#256-of ? super Map.Entry<K,V>>)
is undefined for the type Predicates
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java'
[INFO] [ERROR] com.google.common.collect.ImmutableSetMultimap
cannot be resolved to a type
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ForwardingMap.java'
[INFO] [ERROR] com.google.common.collect.Maps.Values cannot be
resolved to a type
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableSetMultimap.java'
[INFO] [ERROR] com.google.common.collect.ImmutableMultimap.Builder
cannot be resolved to a type
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableMultimap.java'
[INFO] [ERROR] com.google.common.collect.AbstractMultimap cannot
be resolved to a type
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/AbstractMultimap.java'
[INFO] [ERROR] com.google.common.collect.Multimaps.Entries cannot
be resolved to a type

Do you have any idea how can I fix it?

Thanks.
BR,
Norbi
--
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+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Norbert Sándor
2016-04-12 19:48:42 UTC
Permalink
Maybe someone can help which guava version is the "supported" for
gwt-2.8.0-snapshot?

Thanks,
Norbi
Post by Norbert Sándor
Hello,
I use the latest gwt-2.8.0-snapshot + guava-20.0-snapshot.
When I perform GWT compilation in Eclipse (by directly calling the
Compiler from a launch config) everything works as expected.
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
[INFO] [ERROR] Line 2880: The method and(Predicate<capture#253-of ?
super Map.Entry<K,V>>, Predicate<capture#254-of ? super Map.Entry<K,V>>) is
undefined for the type Predicates
[INFO] [ERROR] Line 3134: The method and(Predicate<capture#255-of ?
super Map.Entry<K,V>>, Predicate<capture#256-of ? super Map.Entry<K,V>>) is
undefined for the type Predicates
[INFO] Tracing compile failure path for type
'com.google.common.collect.Maps'
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
[INFO] [ERROR] Line 2880: The method and(Predicate<capture#253-of
? super Map.Entry<K,V>>, Predicate<capture#254-of ? super Map.Entry<K,V>>)
is undefined for the type Predicates
[INFO] [ERROR] Line 3134: The method and(Predicate<capture#255-of
? super Map.Entry<K,V>>, Predicate<capture#256-of ? super Map.Entry<K,V>>)
is undefined for the type Predicates
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java'
[INFO] [ERROR] com.google.common.collect.ImmutableSetMultimap
cannot be resolved to a type
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ForwardingMap.java'
[INFO] [ERROR] com.google.common.collect.Maps.Values cannot be
resolved to a type
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableSetMultimap.java'
[INFO] [ERROR]
com.google.common.collect.ImmutableMultimap.Builder cannot be resolved to a
type
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableMultimap.java'
[INFO] [ERROR] com.google.common.collect.AbstractMultimap cannot
be resolved to a type
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/AbstractMultimap.java'
[INFO] [ERROR] com.google.common.collect.Multimaps.Entries cannot
be resolved to a type
Do you have any idea how can I fix it?
Thanks.
BR,
Norbi
--
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+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Juan Pablo Gardella
2016-04-12 19:54:54 UTC
Permalink
20-SNAPSHOT
Post by Norbert Sándor
Maybe someone can help which guava version is the "supported" for
gwt-2.8.0-snapshot?
Thanks,
Norbi
Post by Norbert Sándor
Hello,
I use the latest gwt-2.8.0-snapshot + guava-20.0-snapshot.
When I perform GWT compilation in Eclipse (by directly calling the
Compiler from a launch config) everything works as expected.
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
[INFO] [ERROR] Line 2880: The method and(Predicate<capture#253-of ?
super Map.Entry<K,V>>, Predicate<capture#254-of ? super Map.Entry<K,V>>) is
undefined for the type Predicates
[INFO] [ERROR] Line 3134: The method and(Predicate<capture#255-of ?
super Map.Entry<K,V>>, Predicate<capture#256-of ? super Map.Entry<K,V>>) is
undefined for the type Predicates
[INFO] Tracing compile failure path for type
'com.google.common.collect.Maps'
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
[INFO] [ERROR] Line 2880: The method
and(Predicate<capture#253-of ? super Map.Entry<K,V>>,
Predicate<capture#254-of ? super Map.Entry<K,V>>) is undefined for the type
Predicates
[INFO] [ERROR] Line 3134: The method
and(Predicate<capture#255-of ? super Map.Entry<K,V>>,
Predicate<capture#256-of ? super Map.Entry<K,V>>) is undefined for the type
Predicates
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java'
[INFO] [ERROR] com.google.common.collect.ImmutableSetMultimap
cannot be resolved to a type
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ForwardingMap.java'
[INFO] [ERROR] com.google.common.collect.Maps.Values cannot be
resolved to a type
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableSetMultimap.java'
[INFO] [ERROR]
com.google.common.collect.ImmutableMultimap.Builder cannot be resolved to a
type
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableMultimap.java'
[INFO] [ERROR] com.google.common.collect.AbstractMultimap cannot
be resolved to a type
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/AbstractMultimap.java'
[INFO] [ERROR] com.google.common.collect.Multimaps.Entries
cannot be resolved to a type
Do you have any idea how can I fix it?
Thanks.
BR,
Norbi
--
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
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
--
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+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Norbert Sándor
2016-04-12 20:01:37 UTC
Permalink
Thanks for the quick reply.
Then I check the classpath of the Maven build again (although I've already
done it and found no conflicts or duplications).
--
Norbi
Post by Juan Pablo Gardella
20-SNAPSHOT
Post by Norbert Sándor
Maybe someone can help which guava version is the "supported" for
gwt-2.8.0-snapshot?
Thanks,
Norbi
Post by Norbert Sándor
Hello,
I use the latest gwt-2.8.0-snapshot + guava-20.0-snapshot.
When I perform GWT compilation in Eclipse (by directly calling the
Compiler from a launch config) everything works as expected.
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
[INFO] [ERROR] Line 2880: The method and(Predicate<capture#253-of
? super Map.Entry<K,V>>, Predicate<capture#254-of ? super Map.Entry<K,V>>)
is undefined for the type Predicates
[INFO] [ERROR] Line 3134: The method and(Predicate<capture#255-of
? super Map.Entry<K,V>>, Predicate<capture#256-of ? super Map.Entry<K,V>>)
is undefined for the type Predicates
[INFO] Tracing compile failure path for type
'com.google.common.collect.Maps'
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
[INFO] [ERROR] Line 2880: The method
and(Predicate<capture#253-of ? super Map.Entry<K,V>>,
Predicate<capture#254-of ? super Map.Entry<K,V>>) is undefined for the type
Predicates
[INFO] [ERROR] Line 3134: The method
and(Predicate<capture#255-of ? super Map.Entry<K,V>>,
Predicate<capture#256-of ? super Map.Entry<K,V>>) is undefined for the type
Predicates
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java'
[INFO] [ERROR] com.google.common.collect.ImmutableSetMultimap
cannot be resolved to a type
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ForwardingMap.java'
[INFO] [ERROR] com.google.common.collect.Maps.Values cannot be
resolved to a type
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableSetMultimap.java'
[INFO] [ERROR]
com.google.common.collect.ImmutableMultimap.Builder cannot be resolved to a
type
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableMultimap.java'
[INFO] [ERROR] com.google.common.collect.AbstractMultimap
cannot be resolved to a type
[INFO] [ERROR] Errors in
'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/AbstractMultimap.java'
[INFO] [ERROR] com.google.common.collect.Multimaps.Entries
cannot be resolved to a type
Do you have any idea how can I fix it?
Thanks.
BR,
Norbi
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
--
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+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Loading...