org.springframework.data.redis.serializer.SerializationException: Cannot deserialize; nested exception is org.springframework.core.serializer.support.SerializationFailedExceptiontomcat-embed-core-8.0.33.jar:8.0.33]Caused by: or
我花了几个小时弄清楚为什么我会收到以下消息:我发现,每当webservice尝试发送一个具有基本get / set的属性时,我都会收到这条消息。public string Name {get;set;} //Works without problems
public string Name { get { return "test"; } }
我最近一直在测试Kryo的序列化和反序列化,总体上对它很满意,但是不清楚如何处理包含对象数组的类的(反)序列化。这个类包含最终字段,所以我似乎不能使用默认的FieldSerializer (错误是“无法创建类(缺少无参数构造函数)”,但无参数构造函数不适合最终原语)。public class SubObject{ private final double field2;如何有效地编写序列化程序/