jijopaulose / gwtquery

Automatically exported from code.google.com/p/gwtquery
MIT License
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 reported on code.google.com by artsiom....@gmail.com on 6 Apr 2013 at 9:31

GoogleCodeExporter commented 9 years ago
Please look at the link
http://stackoverflow.com/questions/15841494/cant-compile-gwt-project-with-gwtque
ry-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

Original comment by artsiom....@gmail.com on 6 Apr 2013 at 9:32

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 929882857a03.

Original comment by manuel.carrasco.m on 9 Apr 2013 at 9:09