映射文件namespace为mapper接口 xml文件要放在resources里,SSM整合时sqlSessionFactory bean的属性要说明映射文件的位置 转载于:https://www.cnblogs.com/yyjh/p/11414189.html