当前位置:   article > 正文

Idea启动若依前后分离版报错 captchaController

captchacontroller

整体的报错信息
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 安装与配置

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/繁依Fanyi0/article/detail/153982?site
推荐阅读
相关标签
  

闽ICP备14008679号