SSM中spring配置文件扫描不到mapper
微信里点“发现”,扫一下
二维码便可将本文分享至朋友圈。
你参考这里的配置
https://github.com/faceghost/simple-ssm
在spring的xml文件加<context:annotation-config/>就行