NoSql缓存Cache
NoSql缓存Cache
粗体鱼
纸上得来终觉浅,绝知此事要躬行
展开
-
springboot集成redis
springboot 集成redis 本身比较简单,网上教程也比较多,此处简要记录一下吧 1、引入maven 依赖(版本号根据springboot 的版本号确定) 如果springboot 父pom 版本号为1.x ,此处redis 版本号为2.x,则会有意想不到的问题,问题将会在另一篇文章中描述 springboot集成redis的问题 <!-- redis --...原创 2019-07-31 00:18:37 · 133 阅读 · 0 评论 -
springboot集成redis问题:
在做springboot和redis 集成时,正常引入jar包,配置redis的配置文件,注入 @Autowired private StringRedisTemplate stringRedisTemplate; 具体参看个人另一篇博客:springboot集成redis 正常调用stringRedisTemplate的api,在启动springboot的过程中,启动失败,异常提升如下...原创 2019-07-31 00:56:58 · 3427 阅读 · 1 评论