报错Mapped Statements collection does not contain value for com.atguigu.mybatis.dao.EmployeeMapperPlus

报错Mapped Statements collection does not contain value for com.atguigu.mybatis.dao.EmployeeMapperPlus

我报错的原因就是select属性值写错了,写成这样了。

select="com.atguigu.mybatis.dao.EmployeeMapperPlus"

应该写成这样

select="com.atguigu.mybatis.dao.EmployeeMapperPlus.getEmpsByDeptId"

posted @ 2018-11-18 19:09  寒潭渡鹤影  阅读(970)  评论(0编辑  收藏  举报