You prolly missed to add the following line to your ProjectName.gwt.xml file:
<inherits name="com.google.gwt.inject.Inject"/> Bye, Norman 2009/7/27 r...@n <roman.chervot...@gmail.com>: > > Hi, I've tried to add gin DI to the project, but have got an error > below. I am using gwt 1.7.0 on linux + guice 2.0 + latest gin. I've > followed all steps in gin tutorial, but when tried to run my app have > got an exception. I could not understand what is wrong and where to > look for a solution. > Please help. > Thanks in advance. > > [ERROR] Failed to create an instance of > 'ru.rchervot.sanasar.client.SearchModule' via deferred binding > java.lang.RuntimeException: Deferred binding failed for > 'ru.rchervot.sanasar.client.MyWidgetGinjector' (did you forget to > inherit a required module?) > at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java: > 43) > at com.google.gwt.core.client.GWT.create(GWT.java:91) > at ru.rchervot.sanasar.client.SearchModule.<init>(SearchModule.java: > 66) > > --------- > SearchModule.java(SearchModule is my EntryPoint class) line 66: > private final MyWidgetGinjector injector = GWT.create > (MyWidgetGinjector.class); > -------- > > MyWidgetClientModule.java: > > public class MyWidgetClientModule extends AbstractGinModule { > > �...@override > protected void configure() { > bind(MainPresenter.Display.class).to(MainView.class); > } > > } > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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 -~----------~----~----~----~------~----~------~--~---