RedisTemplate设置的key,redis客户端取不到_redis中的key被序列化 如何get-CSDN博客

网站介绍:文章浏览阅读1.3k次。原因:RedisTemplate 在set key时,key被序列化解决办法1:import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.data.redis.connection.RedisConnectionFactory;import org.springframework.d_redis中的key被序列化 如何get