我在GWT和Gilead/Hibernate上遇到一些问题

我根据教程进行了代码,但由于com.google.gwt.user.client.rpc.serialization exception:type'ru.atamur.entity.entity.entity.gilead_15'未包含在此类型的集合中,该类型未包含'ru.atamur.entity.gilead_15'无法加载serialization -policy或其类对象。 For security purposes, this type will not be serialized.: instance = ru.atamur.entity.UserEntity_gilead_15@133fa82

查看源代码,我可以看到Gilead将我的用户性转换为userentity_gilead_15 gileadrpchelper.parsereturnvalue(returnValue,_BeanManager)

我可以看到这是由ProxyClassMapper(我正在尝试使用代理模式)故意完成的,所以我想知道Gilead期望在哪里告诉GWT Serilization机制有关它引入的新代理类...

没有正确的解决方案

其他提示

您可以分享您的代码吗?

在那之前我想说 序列化exception 当您的班级不实施时被抛弃 可见的 您将其发送到服务器的接口。

您发送到服务器的每个类都应实现 可见的 界面

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top