On Friday, September 9, 2011 4:01:37 PM UTC+2, Thomas Broyer wrote:
>
> There must be somewhere in your code where you have a dependency on 
> com.google.gwt.event.shared.EventBus rather than 
> com.google.web.bindery.event.shared.EventBus.
>
> Oh yes, there is indeed. 
The GWTP plugin in its latest version creates a presenter with  "import 
com.google.gwt.event.shared.EventBus;" However, the INIT() method placed on 
the GIN module apprently only sets a binding for the 
com.google.web.bindery.event.
shared.EventBus

 

> What happens is: in the absence of a binding, GIN will use a GWT.create() 
> (contrary to Guice which will fail to build the injector), and 
> com.google.gwt.event.shared.EventBus has no deferred-binding rule 
> (<replace-with> or <generate-with>) so GWT tries to instantiate it with its 
> zero-arg constructor; but EventBus is abstract, so GWT complains.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/FZ_0-aCPHWIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to