GWT1.6 RPC service with List in return: Serialization pb

Tue, 14 Apr 2009 12:46:53 -0700

I'm using an RPC service witch return a List<Object>.
I have an error:

Caused by: com.google.gwt.user.client.rpc.SerializationException: Type
'com.myclass.MyBean' was not included in the set of types which can be
serialized by this SerializationPolicy or its Class object could not
be loaded.

This pb is referenced in the issue:
 Issue 1569:     Serialization white list missing types

It seems that the compilier does not include the MyBean class because
the signature is using an Object type.

How to specify that MyBean must be used during the compilation ?

For a workaround, i have specified a dummy class using my MyBean
class..

Is there an other solution ? How to specify the different classes that
can be used in the list ?
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to