The error message does not imply it couldn't find the source, it says
the type is not serializable. Merely implementing Serializable is not in
itself enough to be GWT-serializable. Most likely is that you've not got
a no-arg constructor or that one of your non-static, non-final instance
variables is not GWT-serializable.

Paul

Vinicius Carvalho wrote:
> Hello there. We have our domain model files in a separate jar
>
> com.acme.model is the base package for it
>
> in our gwt.xml file we have <source="model"/>
>
> And everything was ok. We then add a new subfolder: search
>
> com.acme.model.search
>
> And all classes there implement java.io.Serializable just like the
> other model classes
>
> But now, we get
>
> com.google.gwt.user.client.rpc.SerializationException: Type 'xxx' was
> not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and
> did not have a custom field serializer. For security purposes, this
> type will not be deserialized.
>
> When invoking the remote service. The odd part is that it never
> happened for the other classes that only implemented
> java.io.Serializable.
>
> I though that the source directive at the xml was recursive, do I need
> to add each package?
>
> Regardds
>
>   

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