我在使用 GWT 和 Gilead/Hibernate 时遇到了一些问题
我根据教程做了我的代码,但它失败了 com.google.gwt.user.client.rpc.SerializationException: Type 'ru.atamur.entity.UserEntity_gilead_15' is not included in the set of types that can be serialized by this无法加载 SerializationPolicy 或其 Class 对象。出于安全考虑,此类型不会被序列化。:instance = ru.atamur.entity.UserEntity_gilead_15@133fa82
查看源代码,我可以看到 Gilead 在 GileadRPCHelper.parseReturnValue(returnValue, _beanManager) 中将我的 UserEntity 转换为 UserEntity_gilead_15
我可以看到这是 ProxyClassMapper 故意完成的(我正在尝试使用代理模式),所以我想知道 Gilead 期望在哪里告诉 GWT Serilization 机制它引入的这个新代理类......