Springboot项目报错,日志已给出


2021-06-22 20:42:43.980  WARN 11100 --- [  restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'adminLogAOP': Unsatisfied dependency expressed through field 'adminLogService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'adminLogServiceImpl': Unsatisfied dependency expressed through field 'adminLogRepository'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.cqjtu.lexian.persistence.AdminLogRepository' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
2021-06-22 20:42:43.980  INFO 11100 --- [  restartedMain] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2021-06-22 20:42:43.980  INFO 11100 --- [  restartedMain] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-06-22 20:42:44.076 ERROR 11100 --- [  restartedMain] o.s.b.d.LoggingFailureAnalysisReporter   : 

 

上述有下划线部分是项目报错的内容,其中WARN部分信息网上能搜索到有关注解的部分已经检查无误。但项目仍旧无法正常运行,求大佬们指点迷津。

看上去像是依赖项没弄对。

Error creating bean with name 'adminLogAOP': Unsatisfied dependency expressed through field 'adminLogService'; 

检查一下这个service什么问题

看依赖链是AdminLogRepository这个类报错了,截下图看下这个类的注解信息吧