This error comes when the gwt didn't compile the type. Try to add
these method in the Service-Class:
com.example.chat.shared.Message
compileMessage(com.example.chat.shared.Message x);

In the ServiceImpl-Class, just return null in the compileMessage
method.

On 11 Nov., 19:36, Jin Tie <yong.li...@gmail.com> wrote:
> Hello everyone.
> I'm going to make simple chat app using channel api.
> But I have some problem.
> When I created channel and try to send data on that channel, I get
> error like following.
> "com.google.gwt.user.client.rpc.SerializationException: Type
> 'com.example.chat.shared.Message' 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.: instance = com.example.chat.shared.mess...@f4e3b6"
>
> Here com.example.chat.shared.Message class implements
> java.util.Serializable.
> How can I solve this problem?
>
> I hope your help.
>
> Thanks.

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

Reply via email to