There's nothing to serialize. Try adding a field and a getter and  
setter then see what happens.

-jason


On Mar 10, 2009, at 11:40 AM, Clundahl wrote:

>
> I have been trying to get this simple class to be serializable
>
> package com.ww.client;
>
> import java.io.Serializable;
>
> public class Test implements Serializable {
>
>
>       public Test() {
>               // TODO Auto-generated constructor stub
>       }
>
> }
>
> I get
>
> "Caused by: com.google.gwt.user.client.rpc.SerializationException:
> Type 'com.ww.client.Test' was not included in the set of types which
> can be serialized by this SerializationPolicy or its Class object
> could not be loaded. For security purposes, this type will not be
> serialized."
>
> Does anybody know what I'm doing wrong
>
> Kind regards
>
> Clundahl
>
>
> >


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