从缓存中读取数据时,我不断收到以下异常。
org.springframework.data.redis.serializer.SerializationException: Could not read JSON: Cannot construct instance of `java.time.Instant` (no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
我一引入 java.time.Instant 类型的新变量,它就开始了