Re: SerializationException: Why with default Constructor -yes! implements Serializable- yes!
Hey,
Your code looks good. Just to be sure, I created a sample project, and
tested it. It works. So...something must be out of sync with your
build.
Have you tried recompiling you project and then restarting the
development server?
-Lyden
On Jan 23, 11:21 pm, Shawn Brown <big.coffee.lo...@gmail.com> wrote:
> Hi,
>
> Why do I get "SerializationException: Type 'IdKeyHolder' 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"
>
> import java.io.Serializable;
> import java.util.Arrays;
> import java.util.Iterator;
> import java.util.LinkedList;
>
> public class IdKeyHolder implements Serializable{
>
> public IdKeyHolder() {
> super();
> }
>
> public static final long serialVersionUID = -6739090309443601098L;
>
> LinkedList<long[]> keys = new LinkedList<long[]>();
>
> }
>
> Help is greatly appreciated!!!!!
>
> Shawn
--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home