Mybatis 的Dao Idea检查的时候报错,看着这么多的红杠杠,简直要逼死强迫症啊。 Could not autowire. No beans of 'xxx' type found 在报错的Dao里面添加@Repository添加@Service或者@Repository或者@Component注解 就不报错了感觉世界都美好了一些
http://blog.csdn.net/u012453843/article/details/54906905 https://www.cnblogs.com/waterystone/p/6214212.html https://www.jianshu.com/p/e77ed9138064