赞
踩
整体的报错信息
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘captchaController’: Unsatisfied dependency expressed through field ‘configService’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sysConfigServiceImpl’: Invocation of init method failed; nested exception is org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis; nested exception is org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to localhost:6379
其实是Redis连接失败,我的项目运行在本地,启动Redis即可,注意配置信息要正确
Redis 可以手动启动和设置成服务开机自动启动,安装与配置具体看这里
Redis 安装与配置
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。