Spring中集成Redis並使用RedisTemplate.opsForValue().set()設置hashmap時cannot be cast to java.lang.String錯誤的問題

問題描述:html 在Spring中集成了Redis,並使用RedisTemplate.opsForValue().set()設置已經序列化的HashMap對象時報cannot be cast to java.lang.String錯誤(at org.springframework.data.redis.serializer.StringRedisSerializer.serialize(Stri
相關文章
相關標籤/搜索