You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
异常:
Caused by: org.springframework.data.redis.serializer.SerializationException: Could not deserialize: create map error : class java.util.ImmutableCollections$Map1; nested exception is com.alibaba.fastjson2.JSONException: create map error : class java.util.ImmutableCollections$Map1
at com.alibaba.fastjson2.support.spring.data.redis.GenericFastJsonRedisSerializer.deserialize(GenericFastJsonRedisSerializer.java:71)
at org.springframework.data.redis.core.AbstractOperations.deserializeValue(AbstractOperations.java:335)
at org.springframework.data.redis.core.AbstractOperations$ValueDeserializingRedisCallback.doInRedis(AbstractOperations.java:61)
at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:222)
at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:189)
at org.springframework.data.redis.core.AbstractOperations.execute(AbstractOperations.java:96)
at org.springframework.data.redis.core.DefaultListOperations.rightPop(DefaultListOperations.java:239)
之前的2.0.5是没问题的
The text was updated successfully, but these errors were encountered:
版本信息:[2.0.10]
在使用GenericFastJsonRedisSerializer时异常
输入:java.utilMap.of("abc", 1);
异常:
Caused by: org.springframework.data.redis.serializer.SerializationException: Could not deserialize: create map error : class java.util.ImmutableCollections$Map1; nested exception is com.alibaba.fastjson2.JSONException: create map error : class java.util.ImmutableCollections$Map1
at com.alibaba.fastjson2.support.spring.data.redis.GenericFastJsonRedisSerializer.deserialize(GenericFastJsonRedisSerializer.java:71)
at org.springframework.data.redis.core.AbstractOperations.deserializeValue(AbstractOperations.java:335)
at org.springframework.data.redis.core.AbstractOperations$ValueDeserializingRedisCallback.doInRedis(AbstractOperations.java:61)
at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:222)
at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:189)
at org.springframework.data.redis.core.AbstractOperations.execute(AbstractOperations.java:96)
at org.springframework.data.redis.core.DefaultListOperations.rightPop(DefaultListOperations.java:239)
之前的2.0.5是没问题的
The text was updated successfully, but these errors were encountered: