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.方法");正确
标签:Statements,Mapped,collection,does,value,contain 来源: https://www.cnblogs.com/huluxia-fun/p/14695958.html