会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
别动我的猫
内心没有阳光的人温暖不了别人。用心写博客,知识不是高谈阔论,是现实点点滴滴的积累!
博客园
首页
新随笔
联系
订阅
管理
2018年5月13日
redis使用问题一:Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisException: Could not get a resource from the pool] with root cause
摘要: 本文使用的是spring-data-redis 首先说下redis最简单得使用,除去配置。 需要在你要使用得缓存得地方,例如mybatis在mapper.xml中加入: <cache eviction="LRU" type="cn.jbit.cache.RedisCache"/> 由于是第一次使用r
阅读全文
posted @ 2018-05-13 20:32 别动我的猫
阅读(74484)
评论(0)
推荐(2)
公告