Spring Boot Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘sysConfigController’

若依 安装后 编译报错

Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘sysConfigController’: 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服务没打开,打开就行了

Original: https://www.cnblogs.com/hailexuexi/p/14954615.html
Author: 海乐学习
Title: Spring Boot Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘sysConfigController’

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/540343/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球