fastjson2 [BUG]2.0.9-SNAPSHOT序列化异常

bttbmeg0  于 2022-12-31  发布在  其他
关注(0)|答案(1)|浏览(240)

版本: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

mqxuamgl

mqxuamgl1#

没有重现问题,需要你补充相关DTO的类信息

相关问题