Can't compile GWT project with GWTQuery in Eclipse -
i'm trying start using gwtquery in gwt project.
- i've created sample gwt project in eclipse
- added gwtquery-1.3.2.jar war/web-inf/lib
- edited myproject.gwt.xml (added <inherits name='com.google.gwt.query.query'/>)
when compile project writes lot of deffered errors @ end comes with:
scanning additional dependencies: jar:file:/c:/eclipsebacklog/backlog/war/web-inf/lib/gwtquery-1.3.2.jar!/com/google/gwt/query/client/gquery.java computing possible rebind results '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: import com.google.gwt.core.shared cannot resolved [error] line 39: gwt cannot resolved [error] unable find type 'com.google.gwt.query.client.gquery' [error] hint: previous compiler errors may have made type unavailable [error] hint: check inheritance chain module; may not inheriting required module or module may not adding source path entries [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 resolve 'com.google.gwt.query.client.gquery' via deferred binding
what i'm doing wrong?
check version of gwt, have update gwt-2.5.x. because artifact of gquery has undesired dependency of it. there 2 gwt.java
classes in 2.5, , gquery depending of new com.google.gwt.core.shared
mistake.
open issue @ gwtquery site becasuse release should work older gwt version well.
you change gquery version 1.3.1 or 1.4.0-snapshot
update: i've deprecated version 1.3.2, , released 1.3.3 compiles previous gwt versions
Comments
Post a Comment