GWTP PlaceManager的延迟绑定失败

时间:2012-07-17 17:45:48

标签: google-app-engine gwt guice gin gwtp

这是我在运行应用程序时遇到的错误:

  

java.lang.RuntimeException:延迟绑定失败   'com.gwtplatform.mvp.client.proxy.PlaceManager'(你忘记了吗?   继承一个必需的模块?)       在com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)       在com.google.gwt.core.client.GWT.create(GWT.java:97)       at com.myapp.client.gin.ClientGinjectorImpl.create_Key $ type $ com $ gwtplatform $ mvp $ client $ proxy $ PlaceManager $ _annotation $$ none $$(ClientGinjectorImpl.java:597)       at com.myapp.client.gin.ClientGinjectorImpl.get_Key $ type $ com $ gwtplatform $ mvp $ client $ proxy $ PlaceManager $ _annotation $$ none $$(ClientGinjectorImpl.java:611)       在com.myapp.client.gin.ClientGinjectorImpl.getPlaceManager(ClientGinjectorImpl.java:27)       在com.myapp.client.MainAppEntryPoint.onModuleLoad(MainAppEntryPoint.java:17)       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)       在java.lang.reflect.Method.invoke(Method.java:601)       在com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)       在com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)       在com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)       在com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)       在java.lang.Thread.run(Thread.java:722)引起:com.google.gwt.core.ext.UnableToCompleteException :(参见前面的日志   项)       在com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:503)       在com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)       在com.google.gwt.core.client.GWT.create(GWT.java:97)       at com.myapp.client.gin.ClientGinjectorImpl.create_Key $ type $ com $ gwtplatform $ mvp $ client $ proxy $ PlaceManager $ _annotation $$ none $$(ClientGinjectorImpl.java:597)       at com.myapp.client.gin.ClientGinjectorImpl.get_Key $ type $ com $ gwtplatform $ mvp $ client $ proxy $ PlaceManager $ _annotation $$ none $$(ClientGinjectorImpl.java:611)       在com.myapp.client.gin.ClientGinjectorImpl.getPlaceManager(ClientGinjectorImpl.java:27)       在com.myapp.client.MainAppEntryPoint.onModuleLoad(MainAppEntryPoint.java:17)       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)       在java.lang.reflect.Method.invoke(Method.java:601)       在com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)       在com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)       在com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)       在com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)       在java.lang.Thread.run(Thread.java:722)

虽然我在.gwt.xml文件中有这些:

<inherits name="com.google.gwt.inject.Inject"/>
<inherits name='com.gwtplatform.mvp.Mvp'/>
<inherits name='com.gwtplatform.dispatch.Dispatch'/>

<define-configuration-property name='gin.ginjector' is-multi-valued='false' />
<set-configuration-property name='gin.ginjector' value='com.myapp.client.gin.ClientGinjector' />

在应用程序WEB-INF/lib中:

guice-assistedinject-3.0-rc2.jar
guice-servlet-3.0.jar
guice-3.0.jar  
gin-1.5.0.jar
gin-1.5-post-gwt-2.2.jar
gwtp-all-0.7.jar

可能缺少什么?

0 个答案:

没有答案