版本:2.0.9-SNAPSHOT
序列化报错:
org.springframework.data.redis.serializer.SerializationException: Could not deserialize: illegal character ; nested exception is com.alibaba.fastjson2.JSONException: illegal character
at com.alibaba.fastjson2.support.spring.data.redis.GenericFastJsonRedisSerializer.deserialize(GenericFastJsonRedisSerializer.java:71)
at org.springframework.data.redis.core.AbstractOperations.deserializeValue(AbstractOperations.java:360)
at org.springframework.data.redis.core.AbstractOperations$ValueDeserializingRedisCallback.doInRedis(AbstractOperations.java:62)
at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:224)
at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:191)
at org.springframework.data.redis.core.AbstractOperations.execute(AbstractOperations.java:97)
at org.springframework.data.redis.core.DefaultValueOperations.get(DefaultValueOperations.java:54)
2.0.8-SNAPSHOT版本正常
json.txt
1条答案
按热度按时间mqxuamgl1#
没有重现问题,需要你补充相关DTO的类信息