简体   繁体   English

在 netbeans 中在 gwt 中配置 Gquery

[英]Configuring Gquery in gwt in netbeans

I am trying to create a GWT application which uses GQuery in Netbeans.I have referred to http://code.google.com/p/gwtquery/wiki/GettingStarted我正在尝试创建一个 GWT 应用程序,它在 Netbeans 中使用 GQuery。我提到了http://code.google.com/p/gwtquery/wiki/GettingStarted

But when I am importing the package of GQuery in my Entrpoint.java file and trying to build it is giving me error:但是,当我在我的 Entrpoint.java 文件中导入 GQuery 的 package 并尝试构建它时,会出现错误:

[ERROR] Errors in 'jar:file:/D:/GWT/gquery/lib/gwtquery-1.0-SNAPSHOT.jar!/com/google/gwt/query/client/SelectorEngine.java'
[ERROR] Line 94:  Rebind result 'com.google.gwt.query.client.impl.SelectorEngineImpl' cannot be abstract
[ERROR] Cannot proceed due to previous errors 

ProjectPath\nbproject\build-gwt.xml:262: The following error occurred while executing this line:
ProjectPath\nbproject\build-gwt.xml:411:               

I am inheriting the module in main-gwt.xml file and also setting the class path of my GQuery jar file.I am unable to use the packages.我继承了 main-gwt.xml 文件中的模块,并设置了我的 GQuery jar 文件的 class 路径。我无法使用这些包。

You are still using a snapshot release.您仍在使用快照版本。

Try to use the last stable release corresponding to your GWT version !尝试使用与您的 GWT 版本对应的最新稳定版本!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM