ArcBees / gwtquery

A jQuery clone for GWT, and much more.
MIT License
85 stars 38 forks source link

GWT-2.8-SNAPSHOT + SDM : The method $(Element) is ambiguous for the type GQuery #342

Closed nmarchais closed 9 years ago

nmarchais commented 9 years ago

I am using GQuery 1.4.3 with GWT 2.8-SNAPSHOT and everything works fine when I compile with maven.

When I launch SDM from an eclipse launcher i have this error :

Tracing compile failure path for type 'com.google.gwt.query.client.GQuery' [ERROR] Errors in 'com/google/gwt/query/client/GQuery.java' [ERROR] Line 226: The method $(Element) is ambiguous for the type GQuery [ERROR] Errors in 'com/google/gwt/query/client/LazyGQuery.java' [ERROR] com.google.gwt.query.client.GQuery.Offset cannot be resolved to a type [ERROR] Errors in 'com/google/gwt/query/client/plugins/Effects.java' [ERROR] com.google.gwt.query.client.GQuery cannot be resolved to a type [ERROR] Errors in 'com/google/gwt/query/client/plugins/Plugin.java' [ERROR] com.google.gwt.query.client.GQuery cannot be resolved to a type [ERROR] Errors in 'com/google/gwt/query/client/plugins/Events.java' [ERROR] com.google.gwt.query.client.GQuery cannot be resolved to a type [ERROR] Errors in 'com/google/gwt/query/client/impl/AttributeImpl.java' [ERROR] com.google.gwt.query.client.GQuery cannot be resolved to a type [ERROR] Errors in 'com/google/gwt/query/client/plugins/Widgets.java' [ERROR] com.google.gwt.query.client.GQuery cannot be resolved to a type [ERROR] Errors in 'com/google/gwt/query/client/plugins/QueuePlugin.java' [ERROR] com.google.gwt.query.client.GQuery cannot be resolved to a type

Also a lot of warning are written to the console. Here is an example of warning :

Computing all possible rebind results for 'com.aadprox.client.core.ui.drive.FileBrowserView.FileBrowserViewUiBinder' Rebinding com.aadprox.client.core.ui.drive.FileBrowserView.FileBrowserViewUiBinder Checking rule [WARN] Unknown type 'com.google.gwt.query.client.plugins.Effects.GQAnimation' specified in deferred binding rule Checking rule [WARN] Unknown type 'com.google.gwt.query.client.plugins.Effects.GQAnimation' specified in deferred binding rule

Do you think it's a configuration problem on my side or is it a bug ?

nmarchais commented 9 years ago

On more information : When i remove GQuery lib from my project SDM works perfectly !

nmarchais commented 9 years ago

I succeed to launch SDM with GQuery thank to maven gwt plugin --> gwt:run-codeserver. It's my eclipse launch configuration which is probably wrong. Sorry for disturbing you...

JoshIsOnIt commented 8 years ago

I am getting the same message. Just upgraded java version to 1.8, switched to gwtquery 1.4.3, and I get this when I compile using maven:

Checking rule [INFO] [WARN] Unknown type 'com.google.gwt.query.client.plugins.Effects.GQAnimation' specified in deferred binding rule [INFO] Checking rule [INFO] [WARN] Unknown type 'com.google.gwt.query.client.plugins.Effects.GQAnimation' specified in deferred binding rule

I've checked my dependencies, and everything looks right. Any ideas? Could really use some help,

meriouma commented 8 years ago

GWT-2.8 and java 8 requires GQuery 1.4.4-SNAPSHOT

JoshIsOnIt commented 8 years ago

Thanks so much for the quick response!

olafleur commented 8 years ago

@meriouma : would it be worthwhile to make a release 1.4.4 with these changes?

meriouma commented 8 years ago

I think we could release just after GWT 2.8 is released

ibaca commented 8 years ago

You can release 1.4.4-beta1 :wink:

natros commented 8 years ago

👍

Sent from my iPad

On 22/01/2016, at 08:19, Ignacio Baca Moreno-Torres notifications@github.com wrote:

You can release 1.4.4-beta1

— Reply to this email directly or view it on GitHub.

michael-newsrx commented 8 years ago

Would be nice for a beta snapshot to be released that works with gwt 2.8 beta1

olafleur commented 8 years ago

We just released GWTQuery version 1.5 beta 1 . Thanks @meriouma !

ghost commented 8 years ago

Is recommended to go with 1.5 beta 1 instead of 1.4.4-beta1 ?

olafleur commented 8 years ago

The recommended version to go with GWT 2.8 beta1 is 1.5beta1