title: NoSuchMethodFound error: dependency error in GWTP. ResourceDelegate usage
body: <p>I'm working in a GWTP + GAE project based on the CarStore example delviered by ArcBees. Maven dependencies are taken from that project too. My current version of GWTP is <strong>1.5-SNAPSHOT</strong>.</p>
  
  <p>The project compiles perfectly well. But when I run it, I'm stucked in this error:</p>
  
  <pre><code>[ERROR] Error injecting com.gwtplatform.dispatch.rest.delegates.client.ResourceDelegate&lt;com.rmideas.sportbinder.shared.api.SessionResource&gt;: 
  Unable to create or inherit binding: No @Inject or default constructor found for com.gwtplatform.dispatch.rest.delegates.client.ResourceDelegate&lt;com.rmideas.sportbinder.shared.api.SessionResource&gt;
  </code></pre>
  
  <p>The error refers to the <strong>ResourceDelegate</strong> declared in LoginPresenter. But i can´t find anything wrong in my code. </p>
  
  <p>I analyzed the stacktrace and found this cause:</p>
  
  <pre><code>[INFO] Caused by: java.lang.NoSuchMethodError: com.gwtplatform.dispatch.rest.rebind.events.RegisterGinBindingEvent.postSingleton(Lcom/google/common/eventbus/EventBus;Lcom/gwtplatform/dispatch/rest/rebind/utils/ClassDefinition;Lcom/gwtplatform/dispatch/rest/rebind/utils/ClassDefinition;)
  [INFO]  at com.gwtplatform.dispatch.rest.delegates.rebind.DelegateGenerator.maybeRegisterGinBinding(DelegateGenerator.java:162)
  </code></pre>
  
  <p>This refers to a call between two Class objects. <strong>DelegateGenerator</strong> is the caller and is obtained from this dependency:</p>
  
  <pre><code>&lt;dependency&gt;
          &lt;groupId&gt;com.gwtplatform.extensions&lt;/groupId&gt;
          &lt;artifactId&gt;dispatch-rest-delegates&lt;/artifactId&gt;
          &lt;version&gt;${gwtp.version}&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>And <strong>RegisterGinBindingEvent</strong> is the receiver. It belongs to here:</p>
  
  <pre><code>&lt;dependency&gt;
          &lt;groupId&gt;com.gwtplatform&lt;/groupId&gt;
          &lt;artifactId&gt;gwtp-dispatch-rest&lt;/artifactId&gt;
          &lt;version&gt;${gwtp.version}&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>Now, this happens in line 162 of DelegateGenerator:</p>
  
  <pre><code>RegisterGinBindingEvent.postSingleton(eventBus, definition, getClassDefinition());
  </code></pre>
  
  <p>This shouldn't be a problem, but the key the eventBus sends as the first parameter is of a different type in both classes. </p>
  
  <p>DelegateGenerator has this import statement:</p>
  
  <pre><code>import com.google.common.eventbus.EventBus;
  </code></pre>
  
  <p>And RegisterGinBindingEvent has this EventBus class:</p>
  
  <pre><code>import com.gwtplatform.dispatch.rest.rebind.utils.EventBus;
  </code></pre>
  
  <p>I guess that this is causing the problem. Both dependencies are using the same version (1.5-SNAPSHOT). If I downgrade the version to 1.4, this won´t happen. But it still has issues running ResourceDelegate with this code. </p>
  
  <p>Does anyone know what am I be doing wrong? Or if this is a bug?</p>