1. Solution: Add the default constructor public Account(){} to the used java bean xxx.xxx.Account
org.springframework.data.redis.serializer.SerializationException: Could not read JSON: Cannot construct instance of `xxx.xxx.Class` (although at least one Creator exists): cannot deserialize from Object value (no delegate- or property-based Creator)
The serialization class using redis is GenericJackson2JsonRedisSerializer ; an error is reported when deserializing
2. Add the serialize interface implementation of redis before the java bean used
[redis][Serializer原理]DefaultSerializer requires a Serializable payload but received an object of type
http://www.paymoon.com:8001/index.php/2016/12/06/redisdefaultserializer-requires-a-serializable-payload-but-received-an-object-of-type/
Serialization class using redis is JdkSerializationRedisSerializer ; error while serializing