Re: GWT 2.8.2 upgrade errors with Guava-gwt

2018-01-02 Thread BM
Yeah.. It worked with version 21. 

Thanks.

Also the compilation passed but my build failed and suggested I need to add 
following in my gwt.xml






On Tuesday, January 2, 2018 at 12:26:29 PM UTC-6, Colin Alworth wrote:
>
> I can vouch for 21 at least, that's what I'm using.
>
> However, if you are seeing the exact same error as before, then you might 
> have more than one copy of guava on your classpath, double check the error 
> or share it here so we can take a closer look to see what else might be 
> awry. 
>
> On Tuesday, January 2, 2018 at 11:49:09 AM UTC-6, BM wrote:
>>
>> Ok.. I tried their 23.6-jre  
>> and 
>> got the same errors. But will trying switching to stable version like 21 
>> and update here.
>>
>> Thanks for the reply.
>>
>> On Tuesday, January 2, 2018 at 11:43:04 AM UTC-6, Colin Alworth wrote:
>>>
>>> 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//.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//.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 
  
 directive in your module to make it accessible
 [INFO][ERROR] Errors in 
 'jar:file:/Users//.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>>> Map.Entry>) in the type Collection> is not applicable 
 for the arguments (Predicate)
 [INFO]   [ERROR] Line 467: Type mismatch: cannot convert from 
 Predicate to Predicate>
 [INFO]   [ERROR] Line 487: The method removeIf(Predicate>>> Map.Entry>) in the type Collection> is not applicable 
 for the arguments (Predicate)
 [INFO]   [ERROR] Line 487: Type mismatch: cannot convert from 
 Predicate to Predicate>
 [INFO]   [ERROR] Line 533: The method removeIf(Predicate>>> R>) in the type Collection is not applicable for the arguments 
 (Predicate>)
 [INFO]   [ERROR] Line 548: The method removeIf(Predicate>>> V>) in the type Collection is not applicable for the arguments 
 (Predicate)
 [INFO]   [ERROR] Line 552: The method removeIf(Predicate>>> V>) in the type Collection is not applicable for the arguments 
 (Predicate)
 [INFO]   [ERROR] Line 556: The method removeIf(Predicate>>> V>) in the type Collection is not applicable for the arguments 
 (Predicate)
 [INFO]Tracing compile failure path for type 
 'com.google.common.collect.StandardTable'
 [INFO]   [ERROR] Errors in 
 'jar:file:/Users//.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>>> V>) in the type Collection is not applicable for the arguments 
 (Predicate)
 [INFO]  [ERROR] Line 487: The method removeIf(Predicate>>> Map.Entry>) in the type Collection> is not applicable 
 for the arguments (Predicate)
 [INFO]  [ERROR] Line 467: Type mismatch: cannot convert from 
 Predicate to Predicate>
 [INFO]  [ERROR] Line 467: The method removeIf(Predicate>>> Map.Entry>) in the type Collection> is not applicable 
 for the arguments (Predicate)
 [INFO]  [ERROR] Line 487: Type mismatch: cannot convert from 
 Predicate to Predicate>
 [INFO]  [ERROR] Line 533: The method removeIf(Predicate>>> R>) in the type Collection is not applicable for the arguments 
 (Predicate>)
 [INFO]  [ERROR] Line 548: The method removeIf(Predicate>>> V>) in the type Collection is not applicable for the arguments 
 

Re: GWT 2.8.2 upgrade errors with Guava-gwt

2018-01-02 Thread Colin Alworth
I can vouch for 21 at least, that's what I'm using.

However, if you are seeing the exact same error as before, then you might 
have more than one copy of guava on your classpath, double check the error 
or share it here so we can take a closer look to see what else might be 
awry. 

On Tuesday, January 2, 2018 at 11:49:09 AM UTC-6, BM wrote:
>
> Ok.. I tried their 23.6-jre  
> and 
> got the same errors. But will trying switching to stable version like 21 
> and update here.
>
> Thanks for the reply.
>
> On Tuesday, January 2, 2018 at 11:43:04 AM UTC-6, Colin Alworth wrote:
>>
>> 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//.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//.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  
>>> directive in your module to make it accessible
>>> [INFO][ERROR] Errors in 
>>> 'jar:file:/Users//.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>> Map.Entry>) in the type Collection> is not applicable 
>>> for the arguments (Predicate)
>>> [INFO]   [ERROR] Line 467: Type mismatch: cannot convert from 
>>> Predicate to Predicate>
>>> [INFO]   [ERROR] Line 487: The method removeIf(Predicate>> Map.Entry>) in the type Collection> is not applicable 
>>> for the arguments (Predicate)
>>> [INFO]   [ERROR] Line 487: Type mismatch: cannot convert from 
>>> Predicate to Predicate>
>>> [INFO]   [ERROR] Line 533: The method removeIf(Predicate) 
>>> in the type Collection is not applicable for the arguments 
>>> (Predicate>)
>>> [INFO]   [ERROR] Line 548: The method removeIf(Predicate) 
>>> in the type Collection is not applicable for the arguments 
>>> (Predicate)
>>> [INFO]   [ERROR] Line 552: The method removeIf(Predicate) 
>>> in the type Collection is not applicable for the arguments 
>>> (Predicate)
>>> [INFO]   [ERROR] Line 556: The method removeIf(Predicate) 
>>> in the type Collection is not applicable for the arguments 
>>> (Predicate)
>>> [INFO]Tracing compile failure path for type 
>>> 'com.google.common.collect.StandardTable'
>>> [INFO]   [ERROR] Errors in 
>>> 'jar:file:/Users//.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>> V>) in the type Collection is not applicable for the arguments 
>>> (Predicate)
>>> [INFO]  [ERROR] Line 487: The method removeIf(Predicate>> Map.Entry>) in the type Collection> is not applicable 
>>> for the arguments (Predicate)
>>> [INFO]  [ERROR] Line 467: Type mismatch: cannot convert from 
>>> Predicate to Predicate>
>>> [INFO]  [ERROR] Line 467: The method removeIf(Predicate>> Map.Entry>) in the type Collection> is not applicable 
>>> for the arguments (Predicate)
>>> [INFO]  [ERROR] Line 487: Type mismatch: cannot convert from 
>>> Predicate to Predicate>
>>> [INFO]  [ERROR] Line 533: The method removeIf(Predicate>> R>) in the type Collection is not applicable for the arguments 
>>> (Predicate>)
>>> [INFO]  [ERROR] Line 548: The method removeIf(Predicate>> V>) in the type Collection is not applicable for the arguments 
>>> (Predicate)
>>> [INFO]  [ERROR] Line 552: The method removeIf(Predicate>> V>) in the type Collection is not applicable for the arguments 
>>> (Predicate)
>>>
>>>
>>> Any idea what's causing this? I haven't found any much info on this. 
>>>
>>> Thank you in advance.
>>>
>>>
>>>
>>>
>>>

-- 
You 

Re: GWT 2.8.2 upgrade errors with Guava-gwt

2018-01-02 Thread BM
Ok.. I tried their 23.6-jre  
and 
got the same errors. But will trying switching to stable version like 21 
and update here.

Thanks for the reply.

On Tuesday, January 2, 2018 at 11:43:04 AM UTC-6, Colin Alworth wrote:
>
> 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//.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//.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  
>> directive in your module to make it accessible
>> [INFO][ERROR] Errors in 
>> 'jar:file:/Users//.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> Map.Entry>) in the type Collection> is not applicable 
>> for the arguments (Predicate)
>> [INFO]   [ERROR] Line 467: Type mismatch: cannot convert from 
>> Predicate to Predicate>
>> [INFO]   [ERROR] Line 487: The method removeIf(Predicate> Map.Entry>) in the type Collection> is not applicable 
>> for the arguments (Predicate)
>> [INFO]   [ERROR] Line 487: Type mismatch: cannot convert from 
>> Predicate to Predicate>
>> [INFO]   [ERROR] Line 533: The method removeIf(Predicate) 
>> in the type Collection is not applicable for the arguments 
>> (Predicate>)
>> [INFO]   [ERROR] Line 548: The method removeIf(Predicate) 
>> in the type Collection is not applicable for the arguments 
>> (Predicate)
>> [INFO]   [ERROR] Line 552: The method removeIf(Predicate) 
>> in the type Collection is not applicable for the arguments 
>> (Predicate)
>> [INFO]   [ERROR] Line 556: The method removeIf(Predicate) 
>> in the type Collection is not applicable for the arguments 
>> (Predicate)
>> [INFO]Tracing compile failure path for type 
>> 'com.google.common.collect.StandardTable'
>> [INFO]   [ERROR] Errors in 
>> 'jar:file:/Users//.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> V>) in the type Collection is not applicable for the arguments 
>> (Predicate)
>> [INFO]  [ERROR] Line 487: The method removeIf(Predicate> Map.Entry>) in the type Collection> is not applicable 
>> for the arguments (Predicate)
>> [INFO]  [ERROR] Line 467: Type mismatch: cannot convert from 
>> Predicate to Predicate>
>> [INFO]  [ERROR] Line 467: The method removeIf(Predicate> Map.Entry>) in the type Collection> is not applicable 
>> for the arguments (Predicate)
>> [INFO]  [ERROR] Line 487: Type mismatch: cannot convert from 
>> Predicate to Predicate>
>> [INFO]  [ERROR] Line 533: The method removeIf(Predicate> R>) in the type Collection is not applicable for the arguments 
>> (Predicate>)
>> [INFO]  [ERROR] Line 548: The method removeIf(Predicate> V>) in the type Collection is not applicable for the arguments 
>> (Predicate)
>> [INFO]  [ERROR] Line 552: The method removeIf(Predicate> V>) in the type Collection is not applicable for the arguments 
>> (Predicate)
>>
>>
>> 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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.8.2 upgrade errors with Guava-gwt

2018-01-02 Thread Colin Alworth
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//.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//.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  
> directive in your module to make it accessible
> [INFO][ERROR] Errors in 
> 'jar:file:/Users//.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 Map.Entry>) in the type Collection> is not applicable 
> for the arguments (Predicate)
> [INFO]   [ERROR] Line 467: Type mismatch: cannot convert from 
> Predicate to Predicate>
> [INFO]   [ERROR] Line 487: The method removeIf(Predicate Map.Entry>) in the type Collection> is not applicable 
> for the arguments (Predicate)
> [INFO]   [ERROR] Line 487: Type mismatch: cannot convert from 
> Predicate to Predicate>
> [INFO]   [ERROR] Line 533: The method removeIf(Predicate) 
> in the type Collection is not applicable for the arguments 
> (Predicate>)
> [INFO]   [ERROR] Line 548: The method removeIf(Predicate) 
> in the type Collection is not applicable for the arguments 
> (Predicate)
> [INFO]   [ERROR] Line 552: The method removeIf(Predicate) 
> in the type Collection is not applicable for the arguments 
> (Predicate)
> [INFO]   [ERROR] Line 556: The method removeIf(Predicate) 
> in the type Collection is not applicable for the arguments 
> (Predicate)
> [INFO]Tracing compile failure path for type 
> 'com.google.common.collect.StandardTable'
> [INFO]   [ERROR] Errors in 
> 'jar:file:/Users//.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 V>) in the type Collection is not applicable for the arguments 
> (Predicate)
> [INFO]  [ERROR] Line 487: The method removeIf(Predicate Map.Entry>) in the type Collection> is not applicable 
> for the arguments (Predicate)
> [INFO]  [ERROR] Line 467: Type mismatch: cannot convert from 
> Predicate to Predicate>
> [INFO]  [ERROR] Line 467: The method removeIf(Predicate Map.Entry>) in the type Collection> is not applicable 
> for the arguments (Predicate)
> [INFO]  [ERROR] Line 487: Type mismatch: cannot convert from 
> Predicate to Predicate>
> [INFO]  [ERROR] Line 533: The method removeIf(Predicate R>) in the type Collection is not applicable for the arguments 
> (Predicate>)
> [INFO]  [ERROR] Line 548: The method removeIf(Predicate V>) in the type Collection is not applicable for the arguments 
> (Predicate)
> [INFO]  [ERROR] Line 552: The method removeIf(Predicate V>) in the type Collection is not applicable for the arguments 
> (Predicate)
>
>
> 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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.