2020-06-28T17:58:39.848+08:00 WARN ctm01nlmg-web.ctm01nlmg-web [main] [o.s.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext:551] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'caseTypeController': Unsatisfied dependency expressed through field 'caseTypeService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'caseTypeServiceImpl': Unsatisfied dependency expressed through field 'hashOperations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.HashOperations<java.lang.String, java.lang.String, java.lang.Object>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
2020-06-28T17:58:40.096+08:00 ERROR ctm01nlmg-web.ctm01nlmg-web [main] [org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter:42] -
APPLICATION FAILED TO START
一直报这个错,麻烦看下,感谢。
麻烦看下上述问题,万分感谢
一是applicationContext.xml看看扫描注解写对没。二是注解贴对地方没。最后一种就是极其危险的写法,Autowired(required=false)
springBoot还需要写applicationContext.xml吗?大神方便加QQ1906075739远程指导一下吗?