org.springframework.beans.factory.BeanCreationException abnormal problems

org.springframework.beans.factory.BeanCreationException: inject bean abnormal failure

This exception, I could not find the corresponding bean it! Bean failure can result in injection reasons include the following but are not limited to these types of:

  • Corresponding bean not add annotations;
  • Corresponding bean add annotations error;
  • Choosing the wrong automatic injection method;

Solution

Know the cause of this exception occurs, then we went to see the corresponding Bean statement, the relevant code injection were observed.
Here Insert Picture Description

Published 33 original articles · won praise 0 · Views 416

Guess you like

Origin blog.csdn.net/weixin_45737653/article/details/104502700