我正在尝试创建一个RedisTemplate bean,它将具有更新的值序列化程序,以以redis格式序列化一个JSON格式的对象。,spring应该使用JSON序列化程序来序列化标记为Cacheable注释的方法返回的对象。尽管有这种配置,spring似乎在使用默认的Java序列化程序,因为此异常证实了这一事实。(RedisCache.java:238)
at org.springframework.data.redis.cache
我试图用Spring和基于XML的配置来实现Redis。我的配置文件如下: at org.springframework.data.redis.cache.RedisCache.put(RedisCache.java:125)at org.springframework.cache.interceptor.AbstractCacheInvoker.doPut(Abs
我使用redisson-spring-boot-starter 3.13.2和Kotlin进行缓存,但我得到了以下异常: at org.redisson.RedissonMapCache.fastPut(RedissonMapCache.java:720)
at org.redisson.spring.cache.RedissonCach
当我将@Cacheable注释添加到服务方法并执行它时,我得到了以下错误: at org.springframework.data.redis.connection.jedis.JedisConnectionFactory.getConnection(RedisCache.java:104)
at org.springframework.data.redis.cache.RedisCache.get(RedisCache</