持久层逻辑导入业务层接口报错Could not autowire. No beans of 'LoginMapper' type found. less... (Ctrl+F1) Inspection
Could not autowire. No beans of 'LoginMapper' type found. less... (Ctrl+F1) Inspection info:Checks autowiring problems in a bean class.
如上错误:不能自动装配,没有找到其Bean目录。
解决方法:取消自动装配 Autowiring for Bean Class。即可;
如有错误请大家提出、谢谢。
解决方法
alt + enter Inspection 'Autowiring for Bean Class' options -->Edit inspection profile setting
去掉 Autowiring for Bean Class 勾选即可,如无变化重启idea即可。
如没解决点击这里:https://blog.****.net/qq_43087450/article/details/84961834