【发布时间】:2011-07-09 19:15:57
【问题描述】:
在我的 Google Web Toolkit 项目中,出现以下错误:
com.google.gwt.user.client.rpc.SerializationException:类型“your.class.Type”未包含在可由此 SerializationPolicy 序列化的类型集中,或者无法加载其 Class 对象。出于安全考虑,此类型不会被序列化。
这个错误的可能原因是什么?
【问题讨论】:
-
表示Async调用的返回类型没有序列化。要对此进行排序,请在返回类型类中实现 java.io.seriablizable 接口。
标签: serialization gwt-rpc