PDA

View Full Version : Problem with serializers - strange serializers looked up


Nadirowski
08-16-2010, 10:07 AM
Hi
I'm using hessian 4.0.6 with Flamingo framework.
I'm trying to pass an object within an app with hessian protocol.
But all i get is some strange serializer errors like

NoClassDefFound - pl.atena.seamapp.UserHessianSerializer

The class i'm trying to use is a simple POJO named User, and it implements java.io.Serializable. I never intended to use custom serializers.

Why is this happening?

emil
08-23-2010, 09:53 PM
It could be that one of the libraries you're using has defined a custom serializer in its .jar metadata (META-INF/hessian/serializers). It's probably a dependency issue in one of your frameworks.

Best,
Emil