문제

I'm experiencing some problems with GWT and Gilead/Hibernate

I did my code according to the tutorial but it fails with com.google.gwt.user.client.rpc.SerializationException: Type 'ru.atamur.entity.UserEntity_gilead_15' 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 = ru.atamur.entity.UserEntity_gilead_15@133fa82

Looking at the source code I can see that Gilead transformed my UserEntity into UserEntity_gilead_15 inside GileadRPCHelper.parseReturnValue(returnValue, _beanManager)

I can see that this was deliberately done by ProxyClassMapper (I'm trying to use proxy mode), so I was wondering where Gilead was expecting to tell GWT Serilization mechanism about this new proxy class it introduced ...

올바른 솔루션이 없습니다

다른 팁

Can you share your code ?

before that I want to say that SerializationException is thrown when your class doesn't implement isSerializable interface that you send it to the server.

Every class that you send to the server should implement isSerializable interface

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top