Friday, February 26, 2021

Re: Guava version which is compatible with GWT 2.9.0

I just realized that this might be because I had remove below line from my gwt.xml file,

<inherits name="com.google.common.collect.Collect"/>

I am checking now.

On Friday, February 26, 2021 at 4:44:31 PM UTC+5:30 pratik thaker wrote:
Hi Team,

We were using GWT 2.7.0 and guava-18 earlier.

Recently we have upgraded to GWT 2.9.0 and we are facing issue in using below classes from guava,

com.google.common.collect.ComparisonChain
com.google.common.collect.Ordering

I tried upgrading to guava-gwt-29.0-jre.jar but for that we are getting below error,

                            [ERROR] Line 373: ComparisonChain cannot be resolved
     [java]             [ERROR] Line 8: The import com.google.common cannot be resolved
     [java]             [ERROR] Line 374: Ordering cannot be resolved
     [java]             [ERROR] Line 7: The import com.google.common cannot be resolved

Can you please help me compile ?

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/20b671cf-f7af-4b49-a5f8-466797357cc9n%40googlegroups.com.

No comments:

Post a Comment