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即可,注意配置信息要正确
前后分离项目Idea启动报错 captchaController
最新推荐文章于 2024-08-12 21:51:20 发布