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

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'


正在回答

3 回答

怎么解决?

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

连接池写的不对……

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

举报

0/150
提交
取消

redis启动就报错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信