It looks like you're not using any tooling to resolve your dependencies 
(Maven, Gradle, Ivy, Coursier <https://get-coursier.io/>, you name it), so 
you have to grab the transitives manually (and resolve version conflicts).
Compare the dependencies block (lower right) 
between https://search.maven.org/artifact/com.google.guava/guava-gwt/21.0/jar 
and https://search.maven.org/artifact/com.google.guava/guava-gwt/29.-jre0/jar; 
you 
need 
https://search.maven.org/artifact/org.checkerframework/checker-qual/2.11.1/jar 
now.
I would highly recommend automating this through dedicated tooling though.

On Friday, February 26, 2021 at 12:29:45 PM UTC+1 [email protected] 
wrote:

> I am facing below errors now,
>
> Tracing compile failure path for type 
> 'com.google.common.collect.ComparisonChain'
>      [java]       [ERROR] Errors in 
> 'jar:file:/C:/Pratik/ETD/Import/Google/guava/21.0/guava-gwt-29.0-jre.jar!/com/google/common/collect/ComparisonChain.java'
>      [java]          [ERROR] Line 191: Nullable cannot be resolved to a 
> type
>      [java]          [ERROR] Line 24: The import org.checkerframework 
> cannot be resolved
>      [java]          [ERROR] Line 140: Nullable cannot be resolved to a 
> type
>      [java]          [ERROR] Line 134: Nullable cannot be resolved to a 
> type
>      [java]          [ERROR] Line 78: Nullable cannot be resolved to a type
>      [java]    [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
>
>
> On Friday, February 26, 2021 at 4:52:12 PM UTC+5:30 pratik thaker wrote:
>
>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/69c4389f-ce01-42c0-a302-5975e002d205n%40googlegroups.com.

Reply via email to