could not autowired.no beans of ' ' type found

在service实现类对dao层的mapper进行装配时显示未发现bean!

解决方法:在dao层的 *mapper接口上添加@Repository注解

 

posted on 2019-08-08 15:50  kongieg  阅读(2036)  评论(0编辑  收藏  举报