Hi Mathieu,
Make sure you have the gwt-servlet.jar added to the javac classpath as well.
This is needed since the service implementation extends the
RemoteServiceServlet (HttpServlet subclass).

Hope that helps,
-Sumit Chandel

On Tue, Mar 31, 2009 at 12:29 PM, [email protected] <[email protected]
> wrote:

>
> Hi Sumit,
>
> Thank you very much for answering my question ! You were right !
> Now I have one more error left when compiling : "cannot access
> javax.servlet.http.HttpServlet"
> Have you any idea about this ?
>
> Thanks a lot
> Mathieu
>
>
> On 31 mar, 02:09, Sumit Chandel <[email protected]> wrote:
> > Hi Mathieu,
> > The GWT RPC servlet class implements its client-side service interface.
> For
> > this reason, when you're trying to javac the servlet class you will need
> to
> > make sure that the client-side service interface is also on the
> classpath.
> >
> > Try compiling with the service interface on the classpath and let us know
> > how it goes.
> >
> > Hope that helps,
> > -Sumit Chandel
> >
> > On Thu, Mar 26, 2009 at 2:50 PM, [email protected]
> > <[email protected]>wrote:
> >
> >
> >
> > > Hi,
> >
> > > I'm a new java and GWT programmer. I'm trying to build a GWT "Hello
> > > World" using an RPC.
> >
> > > I've tried to compile my servlet class (the service implementation)
> > > with javac, but the error message says it's impossible to find the
> > > client-side package (the service) ...
> > > Could you please explain me how to compile the servlet classes ?
> >
> > > Thanks a lot,
> > > Best regards
> > > Mathieu
> >
>

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