I need a solution to the following problem :

I am running eclispe 3.6, GWT 2.2, Guice 3.0 rc2, gin 10 r137 and gwt-
p 0.5, the code compiles fine but when I try to run the app i end up
with the following error :


13:40:24.062 [ERROR] [gwtphplacesample] Failed to create an instance
of 'com.gwtplatform.samples.hplace.client.Gwtphplacesample' via
deferred binding

java.lang.RuntimeException: Deferred binding failed for
'com.gwtplatform.samples.hplace.client.gin.ClientGinjector' (did you
forget to inherit a required module?)
    at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
    at com.google.gwt.core.client.GWT.create(GWT.java:98)
    at
com.gwtplatform.samples.hplace.client.Gwtphplacesample.<init>
(Gwtphplacesample.java:29)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
465)
    at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
375)
    at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
183)
    at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
510)
    at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/google/inject/
assistedinject/FactoryModuleBuilder
    at
com.google.gwt.inject.rebind.GinjectorGeneratorModule.configure(GinjectorGeneratorModule.java:
74)
    at com.google.inject.AbstractModule.configure(AbstractModule.java:
59)
    at com.google.inject.spi.Elements
$RecordingBinder.install(Elements.java:223)
    at com.google.inject.spi.Elements.getElements(Elements.java:101)
    at com.google.inject.internal.InjectorShell
$Builder.build(InjectorShell.java:132)
    at
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:
103)
    at com.google.inject.Guice.createInjector(Guice.java:95)
    at com.google.inject.Guice.createInjector(Guice.java:72)
    at com.google.inject.Guice.createInjector(Guice.java:62)
    at
com.google.gwt.inject.rebind.GinjectorGenerator.generate(GinjectorGenerator.java:
66)
    at
com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:
48)
    at
com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:
60)
    at
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:
662)
    at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
41)
    at com.google.gwt.dev.shell.StandardRebindOracle
$Rebinder.rebind(StandardRebindOracle.java:74)
    at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
259)
    at
com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java:
141)
    at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:
585)
    at
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
455)
    at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
    at com.google.gwt.core.client.GWT.create(GWT.java:98)
    at
com.gwtplatform.samples.hplace.client.Gwtphplacesample.<init>
(Gwtphplacesample.java:29)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
465)
    at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
375)
    at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
183)
    at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
510)
    at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352)
    at java.lang.Thread.run(Unknown Source)

-- 
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.

Reply via email to