IDEA显示Could not autowire. No beans of 'UserMapper' type found. less... (Ctrl+F1) Inspection info...

本文原链接:https://blog.csdn.net/liuyinfei_java/article/details/79750475


错误信息:


解决方法:在dao层接口加上@Repository注解



你可能感兴趣的:(IDEA显示Could not autowire. No beans of 'UserMapper' type found. less... (Ctrl+F1) Inspection info...)