Error starting ApplicationContext. To display the conditions report re-run your application with 'de

Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘userSoft1851Controller’: Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type ‘com.soft1851.springboot.aop.mapper.UserMapper’ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup="", name="", description="", authenticationType=CONTAINER, type=java.lang.Object.class, mappedName="")}
2020-04-13 17:47:15.123 INFO 16668 — [ main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2020-04-13 17:47:15.529 ERROR 16668 — [ main] o.s.b.d.LoggingFailureAnalysisReporter :


APPLICATION FAILED TO START


Description:

A component required a bean of type ‘com.soft1851.springboot.aop.mapper.UserMapper’ that could not be found.

Action:

Consider defining a bean of type ‘com.soft1851.springboot.aop.mapper.UserMapper’ in your configuration.

Error starting ApplicationContext. To display the conditions report re-run your application with 'de
Error starting ApplicationContext. To display the conditions report re-run your application with 'de
原因
快!瞅瞅你这里!
Error starting ApplicationContext. To display the conditions report re-run your application with 'de
解决问题了点个赞呗!开心!