redis启动就报错

来源:9-1 springboot整合缓存Redis

qq_不瘦到140绝不改名_0

2018-10-19 14:53

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回答

  • 全栈工程师_民
    2019-02-22 12:22:17

    怎么解决?

  • 晴颜
    2018-10-24 23:08:06

    连接池写的不对……

SpringBoot开发常用技术整合

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

102171 学习 · 508 问题

查看课程

相似问题