I have the same issue and I posted it here yesterday. My module that
contains the service works fine standalone but the service is not
being initialized (because of the ClassNotFoundException) when I
import the module and expect to use it i another project. I took a
look at the example posted by Kamal, but that example has nothing to
do with inheriting a module containing the servlet.

Any current insight on this on?

On Aug 6, 10:34 pm, Kamal Chandana Mettananda <[email protected]>
wrote:
> This is a tutorial with an example of using Servlets with GWT. Hope you'll
> get the issue resolved.
>
> http://lkamal.blogspot.com/2008/09/java-gwt-servlets-web-app-tutorial...
>
> On Thu, Aug 6, 2009 at 7:58 PM, Patrik <[email protected]> wrote:
>
> > Hi,
> > I have a usermodule that I would like to have in a jar-file and
> > include in other projects, when I try to test I get
> > java.lang.ClassNotFoundException:
> > se.riket.gwt.user.server.rpc.impl.LoginServiceImpl. That's the login
> > servlet class,
> > in my web.xml I have
>
> >  <servlet>
> >    <servlet-name>loginService</servlet-name>
> >    <servlet-class>se.riket.gwt.user.server.rpc.impl.LoginServiceImpl</
> > servlet-class>
> >  </servlet>
>
> >  <servlet-mapping>
> >    <servlet-name>loginService</servlet-name>
> >    <url-pattern>/yeti/login</url-pattern>
> >  </servlet-mapping>
>
> > I have added my jar in the classpath and in the *.gwt.xml file.
>
> > Anyone with an idea?
>
> > BR
> > Patrik
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to