AIUI, it could be a type-inference glitch (line 226 is "return 
$(f.getElement())" and Function#getElement is a generic method) due to the 
update of JDT/ECJ.
Changing that line to "return $(f.<Element>getElement())" might fix it.

On Friday, March 25, 2016 at 10:14:58 AM UTC+1, maticpetek wrote:
>
> Hi,
>   I have small GWT project that has use GWT 2.8 snapshot a couple of 
> months old. Now I try update to GWT 2.8 snapshot build 25.3.2016. I replace 
> all JAR files and build new GQuery from 
> https://github.com/gwtquery/gwtquery. When I run SDM I get a lot of 
> warnings :
>
> [java]             Rebinding 
> com.google.gwt.useragent.client.UserAgentAsserter
>
>      [java]                Checking rule <replace-with 
> class='com.google.gwt.query.client.plugins.effects.TransitionsAnimation.TransitionsClipAnimation'/>
>
>      [java]                   [WARN] Unknown type 
> 'com.google.gwt.query.client.plugins.Effects.GQAnimation' specified in 
> deferred binding rule
>
>      [java]                Checking rule <replace-with 
> class='com.google.gwt.query.client.plugins.effects.ClipAnimation'/>
>
>      [java]                   [WARN] Unknown type 
> 'com.google.gwt.query.client.plugins.Effects.GQAnimation' specified in 
> deferred binding rule
>
>      [java]                Checking rule <generate-with 
> class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
>
>      [java]                   [WARN] Detected warnings related to 
> 'com.google.gwt.editor.client.SimpleBeanEditorDriver'.   Are 
> validation-api-<version>.jar and validation-api-<version>-sources.jar on 
> the classpath?
>
>      [java]                   Specify -logLevel DEBUG to see all errors.
>
>      [java]                   [WARN] Unknown type 
> 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in deferred 
> binding rule
>
>      [java]          Computing all possible rebind results for 
> 'com.google.gwt.user.client.DocumentModeAsserter'
>
>      [java]             Rebinding 
> com.google.gwt.user.client.DocumentModeAsserter
>
>      [java]                Checking rule <replace-with 
> class='com.google.gwt.query.client.plugins.effects.TransitionsAnimation.TransitionsClipAnimation'/>
>
>      [java]                   [WARN] Unknown type 
> 'com.google.gwt.query.client.plugins.Effects.GQAnimation' specified in 
> deferred binding rule
>
>      [java]                Checking rule <replace-with 
> class='com.google.gwt.query.client.plugins.effects.ClipAnimation'/>
>
>      [java]                   [WARN] Unknown type 
> 'com.google.gwt.query.client.plugins.Effects.GQAnimation' specified in 
> deferred binding rule
>
>
> And also errors :
>
>   [java]          [ERROR] Errors in 
> 'com/google/gwt/query/client/GQuery.java'
>
>      [java]             [ERROR] Line 226: The method $(Element) is 
> ambiguous for the type GQuery
>
>      [java]          Tracing compile failure path for type 
> 'com.google.gwt.query.client.GQuery'
>
>      [java]             [ERROR] Errors in 
> 'com/google/gwt/query/client/GQuery.java'
>
>      [java]                [ERROR] Line 226: The method $(Element) is 
> ambiguous for the type GQuery
>
>      [java]             [ERROR] Errors in 
> 'com/google/gwt/query/client/LazyGQuery.java'
>
>      [java]                [ERROR] 
> com.google.gwt.query.client.GQuery.Offset cannot be resolved to a type
>
>      [java]             [ERROR] Errors in 
> 'com/google/gwt/query/client/plugins/Effects.java'
>
>      [java]                [ERROR] com.google.gwt.query.client.GQuery 
> cannot be resolved to a type
>
>      [java]             [ERROR] Errors in 
> 'com/google/gwt/query/client/plugins/Plugin.java'
>
>      [java]                [ERROR] com.google.gwt.query.client.GQuery 
> cannot be resolved to a type
>
>      [java]             [ERROR] Errors in 
> 'com/google/gwt/query/client/plugins/Events.java'
>
>      [java]                [ERROR] com.google.gwt.query.client.GQuery 
> cannot be resolved to a type
>
>      [java]             [ERROR] Errors in 
> 'com/google/gwt/query/client/impl/AttributeImpl.java'
>
>      [java]                [ERROR] com.google.gwt.query.client.GQuery 
> cannot be resolved to a type
>
>      [java]             [ERROR] Errors in 
> 'com/google/gwt/query/client/plugins/Widgets.java'
>
>      [java]                [ERROR] com.google.gwt.query.client.GQuery 
> cannot be resolved to a type
>
>      [java]             [ERROR] Errors in 
> 'com/google/gwt/query/client/plugins/QueuePlugin.java'
>
>      [java]                [ERROR] com.google.gwt.query.client.GQuery 
> cannot be resolved to a type
>
>      [java]          Computing all possible rebind results for 
> 'com.google.gwt.query.client.Console'
>
> Any idea what to look would be more then appreciate.
> Regards,
>   Matic 
>
>

-- 
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.

Reply via email to