
Consider defining a bean of type
问题:
Could not autowire. No beans of 'SysMenuService' type found.
意思是在SysMenuController类下面需要获取的的SysMenuService类的bean不能被找到。
建议是在配置类或配置文件中定义一个SysMenuService类型的bean
解决:检查service接口实现类中是否有@Service这个注解。
blog.csdn/MONKEY_Quan/article/details/90730940
blog.csdn/tdxtc/article/details/89070143
👁️ 阅读量:0
© 版权声明:本文《Consider defining a bean of type》内容均为本站精心整理或网友自愿分享,如需转载请注明原文出处:https://www.zastudy.cn/wen/1687003526a416379.html。