On 27 août, 16:48, grigory <[email protected]> wrote:
> Hi,
>
> I just downloaded gwt-dispatch-1.0.0.jar and tried to use it on our
> new GWT project but encountered the following error both on hosted and
> web mode when launching our GWT app.
>
> This is the full stacktrace for the hosted mode:
>
> [WARN] /com.xxx.yyy.zzz.XYZModel/dispatch
> java.lang.InstantiationException:
> net.customware.gwt.dispatch.server.service.DispatchServiceServlet
[...]
> gwt-dispatch-1.0.0.jar, gin.jar, guice-2.0.jar are on the classpath if
> that matters.
You seem to be missing the Guice-Servlet configuration (and guice-
servlet-2.0.jar):
http://code.google.com/p/google-guice/wiki/ServletModule
or you might rather want to do your server-side DI by hand:
http://code.google.com/p/gwt-dispatch/wiki/ServerConfigurationManual
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---