Mapped Statements collection does not contain value

org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for UserMapper.find
### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for UserMapper.find

 

 

 

<mapper namespace="name">与测试用类的调用方法不一致
列如
sqlSession.selectList("包名.name.方法");错误
sqlSession.selectList("name.方法");正确
上一篇:WPF自定义控件07:FlatTextBox


下一篇:MySQL优化?