ArcBees / gwtquery

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

gwtquery-1.3.2.jar isn't compatible with GWT2.4.x #207

Closed jDramaix closed 11 years ago

jDramaix commented 11 years ago

Original author: artsiom....@gmail.com (April 06, 2013 09:31:16)

What steps will reproduce the problem?

  1. Create sample GWT project in Eclipse (GWT version 2.4)
  2. Add gwtquery-1.3.2.jar into lib folder and classpath
  3. Compile the application

What is the expected output? What do you see instead?

Error displayed Scanning for additional dependencies: jar:file:/C:/eclipseBacklog/Backlog/war/WEB-INF/lib/gwtquery-1.3.2.jar!/com/google/gwt/query/client/GQuery.java Computing all possible rebind results for 'com.google.gwt.query.client.GQuery' Rebinding com.google.gwt.query.client.GQuery Checking rule <replace-with class='com.google.gwt.query.client.impl.SelectorEngineNativeIE8'/> [ERROR] Errors in 'jar:file:/C:/eclipseBacklog/Backlog/war/WEB-INF/lib/gwtquery-1.3.2.jar!/com/google/gwt/query/client/Properties.java' [ERROR] Line 20: The import com.google.gwt.core.shared cannot be resolved [ERROR] Line 39: GWT cannot be resolved [ERROR] Unable to find type 'com.google.gwt.query.client.GQuery' [ERROR] Hint: Previous compiler errors may have made this type unavailable [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly [ERROR] Errors in 'jar:file:/C:/eclipseBacklog/Backlog/war/WEB-INF/lib/gwtquery-1.3.2.jar!/com/google/gwt/query/client/GQuery.java' [ERROR] Line 1483: Failed to resolve 'com.google.gwt.query.client.GQuery' via deferred binding

What version of the product are you using? On what operating system? GWT 2.4, GWTQuery 1.3.2

Please provide any additional information below.

Original issue: http://code.google.com/p/gwtquery/issues/detail?id=176

jDramaix commented 11 years ago

From artsiom....@gmail.com on April 06, 2013 09:32:28 Please look at the link http://stackoverflow.com/questions/15841494/cant-compile-gwt-project-with-gwtquery-in-eclipse/

Check your version of gwt, you have to update to GWT-2.5.x. because this artifact of gquery has a undesired dependency of it. There are two GWT.java classes in 2.5, and gquery is depending of the new com.google.gwt.core.shared by mistake.

Open an issue at the gwtquery site becasuse this release should work with older gwt version as well.

You could also change the gquery version to 1.3.1 or 1.4.0-SNAPSHOT

jDramaix commented 11 years ago

From manuel.carrasco.m on April 09, 2013 21:09:01 This issue was closed by revision 929882857a03.