![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
redis
十年如一日@
这个作者很懒,什么都没留下…
展开
-
spring boot从redis取缓存发生java.lang.ClassCastException异常
先看异常:2018-09-24 15:26:03.406 ERROR 13704 --- [nio-8888-exec-8] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception ...转载 2019-12-27 19:07:41 · 628 阅读 · 0 评论 -
使用redis作为数据库数据缓存,存入redis报错
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.ClassCastException: com.jlw.time_is_money.applicati...原创 2019-12-27 19:04:15 · 304 阅读 · 0 评论 -
Redis CacheManager 2.0设置缓存过期时间变动
SpringBoot:2.0.4的配置:@Beanpublic CacheManager cacheManager(@Autowired RedisConnectionFactory connectionFactory) { return RedisCacheManager .builder(connectionFactory) ...原创 2019-12-27 18:58:31 · 5527 阅读 · 0 评论