在5-14中启动时报错
来源:5-14 开发用户redis-session

_leapfrog
2019-04-20
老师你好,启动服务时遇到报以下错误:
初学spring boot框架,不知道这个是什么原因,我把相关包删除,重新更新maven也不行。
3回答
-
_leapfrog
提问者
2019-04-20
嗯 我已经进群了。我是在win下装的redis, redis的工具也能连接上了,其他也都配置了。
其他配置是这样的:
但还是报这个错,这大概是因为哪些原因导致的?
***************************
APPLICATION FAILED TO START
***************************Description:
Parameter 0 of method stringRedisTemplate in org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration$RedisConfiguration 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 class 'org.apache.commons.pool2.impl.GenericObjectPool'
Action:Consider revisiting the conditions above or defining a bean of type 'org.springframework.data.redis.connection.RedisConnectionFactory' in your configuration.
022019-04-20 -
_leapfrog
提问者
2019-04-20
1.5.12.RELEASE
032019-04-20 -
风间影月
2019-04-20
Springboot用的什么版本啊?
00
相似问题