GWT引导延迟绑定失败
在哪里下载GWT-bootstrap.jar的最新稳定版本GWT引导延迟绑定失败,gwt,gwt-bootstrap,Gwt,Gwt Bootstrap,在哪里下载GWT-bootstrap.jar的最新稳定版本 我从gwt bootstrap 2.3.2.jar的副本中下载。并创建一个示例项目,但每次都会出现以下错误 Compiling module com.test.Bootstrap Scanning for additional dependencies: file:/F:/desk/bootstrap/src/com/test/client/Testing.java Computing all possi
Compiling module com.test.Bootstrap
Scanning for additional dependencies: file:/F:/desk/bootstrap/src/com/test/client/Testing.java
Computing all possible rebind results for 'com.test.client.Testing.TestingUiBinder'
Rebinding com.test.client.Testing.TestingUiBinder
Invoking generator com.google.gwt.uibinder.rebind.UiBinderGenerator
[ERROR] <b:Heading> missing required attribute(s): size Element <b:Heading> (:4)
[ERROR] Errors in 'file:/F:/desk/bootstrap/src/com/test/client/Testing.java'
[ERROR] Line 11: Failed to resolve 'com.test.client.Testing.TestingUiBinder' via deferred binding
Scanning for additional dependencies: jar:file:/F:/technology/lib/gwt-2.4.0/gwt-2.4.0/gwt-user.jar!/com/google/gwt/user/client/ui/Composite.java
[WARN] For the following type(s), generated source was never committed (did you forget to call commit()?)
[WARN] com.test.client.Testing_TestingUiBinderImpl
[ERROR] Cannot proceed due to previous errors
Testing.ui.xml
你好,bootstrap
...
...
Testing.java
公共类测试扩展了复合{
私有静态TestingUiBinder=GWT.create(TestingUiBinder.class);
@UiTemplate(“Testing.ui.xml”)
接口测试绑定器扩展UiBinder{
}
公共测试(){
initWidget(uiBinder.createAndBindUi(this));
}
}
看起来大小属性是必需的。在Testing.ui.xml中试试这个
<b:Heading size="2">