title: Deferred binding failed GWT using uibinder
body: <p>Below are the total files used in project. It is giving these errors</p>
  
  <pre><code>[ERROR] [cricketscore] - Deferred binding failed for 'test.client.UserDashboard.MyUiBinder'; expect subsequent failures
  </code></pre>
  
  <p>and </p>
  
  <pre><code>[ERROR] [cricketscore] - Unable to load module entry point class test.client.DashBoard (see associated exception for details). 
  </code></pre>
  
  <p>Please help me resolve the problem in it.</p>
  
  <p>Cricketscore.gwt.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!--
    When updating your version of GWT, you should also update this DTD reference,
    so that your app can take advantage of the latest GWT module capabilities.
  --&gt;
  &lt;!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.5.0//EN"
    "http://google-web-toolkit.googlecode.com/svn/tags/2.5.0/distro-source/core/src/gwt-module.dtd"&gt;
  &lt;module rename-to='cricketscore'&gt;
    &lt;!-- Inherit the core Web Toolkit stuff.                        --&gt;
    &lt;inherits name='com.google.gwt.user.User'/&gt;
  
    &lt;!-- Inherit the default GWT style sheet.  You can change       --&gt;
    &lt;!-- the theme of your GWT application by uncommenting          --&gt;
    &lt;!-- any one of the following lines.                            --&gt;
    &lt;inherits name='com.google.gwt.user.theme.clean.Clean'/&gt;
    &lt;!-- &lt;inherits name='com.google.gwt.user.theme.standard.Standard'/&gt; --&gt;
    &lt;!-- &lt;inherits name='com.google.gwt.user.theme.chrome.Chrome'/&gt; --&gt;
    &lt;!-- &lt;inherits name='com.google.gwt.user.theme.dark.Dark'/&gt;     --&gt;
  
    &lt;!-- Other module inherits                                      --&gt;
  
    &lt;!-- Specify the app entry point class.                         --&gt;
    &lt;entry-point class='test.client.DashBoard'/&gt;
  
    &lt;!-- Specify the paths for translatable code                    --&gt;
    &lt;source path='client'/&gt;
    &lt;source path='shared'/&gt;
  
  &lt;/module&gt;
  </code></pre>
  
  <p>Dashboard.java</p>
  
  <pre><code>package test.client;
  
  import com.google.gwt.core.client.EntryPoint;
  import com.google.gwt.user.client.ui.RootPanel;
  
  public class DashBoard implements EntryPoint{
  
      @Override
      public void onModuleLoad() {
          RootPanel.get().add(new UserDashboard());
      }
  }   
  </code></pre>
  
  <p>UserDashboard.ui.xml</p>
  
  <pre><code>&lt;!-- UserDashboard.ui.xml --&gt;
  
  &lt;ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
      xmlns:g='urn:import:com.google.gwt.user.client.ui'
      xmlns:my='urn:import:test.client' &gt;
  
    &lt;g:HTMLPanel&gt;
      &lt;my:CricketScores ui:field='scores' teamNames='AUS, SAF, WA, QLD, VIC'/&gt;
    &lt;/g:HTMLPanel&gt;
  &lt;/ui:UiBinder&gt;
  </code></pre>
  
  <p>CricketScores.java</p>
  
  <pre><code>package test.client;
  
  import com.google.gwt.uibinder.client.UiConstructor;
  import com.google.gwt.user.client.ui.Composite;
  
  
  public class CricketScores extends Composite{
  
      public @UiConstructor CricketScores(String teamNames) {
            this(teamNames.split("[, ]+"));
          }
  
      public CricketScores(String... teamNames) {
          // TODO Auto-generated constructor stub
      }
  }
  </code></pre>
  
  <p>UserDashboard.java</p>
  
  <pre><code>package test.client;
  
  import com.google.gwt.core.client.GWT;
  import com.google.gwt.uibinder.client.UiBinder;
  import com.google.gwt.uibinder.client.UiFactory;
  import com.google.gwt.user.client.ui.Composite;
  import com.google.gwt.user.client.ui.Widget;
  
  public class UserDashboard extends Composite {
        interface MyUiBinder extends UiBinder&lt;Widget, UserDashboard&gt;{}
        private static final MyUiBinder uiBinder = GWT.create(MyUiBinder.class);
  
        private final String[] teamNames;
  
        public UserDashboard(String... teamNames) {
          this.teamNames = teamNames;
          initWidget(uiBinder.createAndBindUi(this));
        }
  
        @UiFactory CricketScores makeCricketScores() { 
          return new CricketScores(teamNames);
        }
      }
  </code></pre>