GWT-bootstrap Deferred binding failed -


  1. where download gwt-bootstrap.jar latest stable version?

  2. i downloaded here copy of gwt-bootstrap 2.3.2.jar. , create sample project each time following error.

    compiling module com.test.bootstrap scanning additional dependencies:               file:/f:/desk/bootstrap/src/com/test/client/testing.java   computing possible rebind results '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 resolve 'com.test.client.testing.testinguibinder' via deferred binding    scanning 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] following type(s), generated source never committed (did forget call commit()?)  [warn] com.test.client.testing_testinguibinderimpl    [error] cannot proceed due previous errors 

my code bellow bootstrap.gwt.xml

<?xml version="1.0" encoding="utf-8"?> <module rename-to='bootstrap'>   <inherits name='com.google.gwt.user.user'/>   <inherits name='com.google.gwt.user.theme.standard.standard'/>   <inherits name="com.github.gwtbootstrap.bootstrap"/>   <entry-point class='com.test.client.bootstrap'/>   <set-property name="bootstrap.responsivedesign" value="true"/>   <source path='client'/>   <source path='shared'/> </module> 

testing.ui.xml

<ui:uibinder xmlns:ui='urn:ui:com.google.gwt.uibinder'     xmlns:g='urn:import:com.google.gwt.user.client.ui' xmlns:b="urn:import:com.github.gwtbootstrap.client.ui"> <g:htmlpanel>     <b:heading>hello bootstrap</b:heading>     <b:fluidcontainer>     <b:fluidrow>         <b:column size="4">...</b:column>         <b:column size="8">...</b:column>     </b:fluidrow>     </b:fluidcontainer> </g:htmlpanel> </ui:uibinder>  

testing.java

public class testing extends composite {      private static testinguibinder uibinder = gwt.create(testinguibinder.class);      @uitemplate("testing.ui.xml")     interface testinguibinder extends uibinder<widget, testing>{      }      public testing() {         initwidget(uibinder.createandbindui(this));     }  } 

looks size attribute mandatory. try in testing.ui.xml

<b:heading size="2"> 

Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -