为了账号安全,请及时绑定邮箱和手机立即绑定

redis启动就报错

Parameter 0 of method stringRedisTemplate in org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration required a bean of type 'org.springframework.data.redis.connection.RedisConnectionFactory' that could not be found.

- Bean method 'redisConnectionFactory' not loaded because @ConditionalOnClass did not find required classes 'org.apache.commons.pool2.impl.GenericObjectPool', 'redis.clients.jedis.Jedis'

- Bean method 'redisConnectionFactory' not loaded because @ConditionalOnClass did not find required class 'io.lettuce.core.RedisClient'


正在回答

2 回答

怎么解决?

0 回复 有任何疑惑可以回复我~

连接池写的不对……

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
SpringBoot开发常用技术整合
  • 参与学习       102205    人
  • 解答问题       530    个

SpringBoot 极简开发的框架整合利器

进入课程

redis启动就报错

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号