Maven 在GWTP(1.5.1)项目的UiBinder中声明GwtQuery(1.0.6)小部件时,GWT(2.7)编译失败

Maven 在GWTP(1.5.1)项目的UiBinder中声明GwtQuery(1.0.6)小部件时,GWT(2.7)编译失败,maven,gwt,uibinder,gwtp,gwtquery,Maven,Gwt,Uibinder,Gwtp,Gwtquery,当我只是在GWTP项目的MyView.ui.xml UiBinder中声明GwtQuery DragAndDropCellTree时,我无法GWT编译它: [3] xmlns:gq="urn:import:gwtquery.plugins.droppable.client.gwt" ... [59] <gq:DragAndDropCellTree></gq:DragAndDropCellTree> [3]xmlns:gq=“urn:import:gwtqu

当我只是在GWTP项目的MyView.ui.xml UiBinder中声明GwtQuery DragAndDropCellTree时,我无法GWT编译它:

[3]  xmlns:gq="urn:import:gwtquery.plugins.droppable.client.gwt"
...
[59]       <gq:DragAndDropCellTree></gq:DragAndDropCellTree>
[3]xmlns:gq=“urn:import:gwtquery.plugins.droppable.client.gwt”
...
[59]       
[错误]在urn:import:gwtquery.plugins.droppable.client.gwt:(:59)中没有与“DragAndDropCellTree”匹配的类

[错误]gen/my/package/com\u gwtplatform\u mvp\u client\u DesktopGinjector\u DesktopGinjectorGinjector\u fragment.java中的错误 [错误]无法通过延迟绑定解析'my.package.MyView.Binder'

[警告]对于以下类型,从未提交生成的源(是否忘记调用commit()?) [警告]my.package.MyView\u BinderImpl

我在Eclipse中使用了Maven。 我不确定我的问题是在GWT、GWTP、Maven还是GwtQuery中

你知道我做错了什么吗

  • 没有声明,但是通过在UiBinder中导入gwtquery.plugins.droppable.client.gwt,我可以成功编译
  • 在MyView.java中而不是在UiBinder中进行声明时,我可以成功编译
  • 在声明任何其他DragAndDrop时,或者在其他UiBinder中声明DragAndDrop时,我都无法编译

我想我找到了这个。

DragAndDropCellTree没有零参数构造函数。因此,我可以在MyView.java中声明,但不能在MyView.ui.xml中声明是有意义的

所以这是一个GWT GwtQuery问题

这些是