In order for a class to be added to the serialization policy, the
class must be either a parameter to an RPC method, or a return type
from an RPC method.  There are a couple excpetions to this, but that's
the general rule.  In your RPC interface, does the type
LatitudeLongitude appear in any of your method declarations?

-Greg

On Nov 7, 1:23 am, Joshua Partogi <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> I encounter this problem:
>
> Caused by: com.google.gwt.user.client.rpc.SerializationException: Type
> 'lab.gwt.
> client.LatitudeLongitude' was not included in the set of types which
> can be seri
> alized by this SerializationPolicy or its Class object could not be
> loaded. For
> security purposes, this type will not be serialized.
>
> When passing an object with GWT RPC. This class is already
> implementing Serializable. But why does such problem still occur?
>
> Does anyone know how to fix this?
>
> Thank you in advance.
--~--~---------~--~----~------------~-------~--~----~
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