Are you sure that the class that you want to serialize (implements
Serializable) is within your gwt module package?

On Feb 9, 2:25 am, Andrea Polci <apo...@gmail.com> wrote:
> Whenever I try to use in my services a class that implements
> java.io.Serializable and not IsSerializable I get the following
> runtime error:
>
> com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
> Type 'com.extjs.gxt.ui.client.data.BaseModel' 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.
>
> I'm using GWT 2.0.1 so Serializable should be supported.
>
> I get no compile-time error.
>
> The serialization policy file seems to be deployed correctly and
> contains the class that cannot be deserialized (in the example above
> com.extjs.gxt.ui.client.data.BaseModel).
>
> I checked that I have the right version of gwt-servlet.jar.
>
> I don't know what else to try, can someone help me?
> Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to