BM <bhushan.madan@...> writes:

> 
> It works on an empty project.
> 
> So I compared my project with empty project. The difference is my
> project uses Maven.
> 
> I realized gwt-servlet.jar was missing in my project. So when I copied
> the gwt-servlet.jar in the lib folder created inside WEB-INF it
> worked!
> 
> But the funny thing is my RPC call with String object was working fine
> without gwt-servlet.jar
> 
> Thanks everyone on contributing and helping me. I am still surprise
> how did gwt-servlet.jar gets deleted or may not be there in the first
> place. And how did simple RPC worked before with String objects and
> not working with ArrayList or HashSet objects.
> 
> We learn new things every day! Thanks again all of you for taking your
> time to guide me here. I appreciate it!
> 
> On Aug 10, 11:21 am, Alex Dobjanschi <alex.dobjans...@...>
> wrote:
> > BM, can you create an empty project and copy those files (service, service
> > async, server impl, etc) & run it?
> 


Hi, 

I was experimenting the exact same problem as you, using a simple service that
was returning a simple and serializable object that contained a List of
serializables objects.

I still didn't understand well what was wrong in my code. But looking back in my
pom.xml, I found that my version of gwt-servlet was 2.2.0 whereas my version of
gwt was 2.4.0 . I simply changed the gwt-servlet version to 2.4.0 and now it
works fine (didn't had to copy any jar anywhere).

Cheers,

Raphael POITTEVIN



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