admin启动报错 common.utils.RedisUtils available

提问 2 1213
斗地主
斗地主 2018-10-14
版本:renren-security 3.2.0 开发环境:
admin启动报错: WARN 15496 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysOssController': Unsatisfied dependency expressed through field 'sysConfigService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysConfigService': Unsatisfied dependency expressed through field 'sysConfigRedis'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysConfigRedis': Unsatisfied dependency expressed through field 'redisUtils'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'io.renren.common.utils.RedisUtils' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} 请问是什么原因?求指导
回帖
  • 正常启动是不会报错的,除非环境有问题,或者改动了代码,改出了问题 你这个报错信息,是指找不到RedisUtils
    0 回复
  • 斗地主
    斗地主 (楼主)
    2018-10-14
    @Mark 可能是renren.common没下完的问题,clean之后就好了,谢谢
    0 回复