Invalid bound statement (not found):.....sysFunctionDao.getSysFunctionsById...<init>(MapperMethod.ja

来源:互联网 发布:python 里的key 编辑:程序博客网 时间:2024/04/19 09:16
 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):  cn.xiniu.core.dao.function.SysFunctionDao.getSysFunctionsById    at org.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(MapperMethod.java:189)

原因:
1dao接口写的方法和映射文件中的方法名称不对
2 Dao的方法返回值是List,而select元素没有正确配置ResultMap
3mapper的namespace写的不对
4dao层的文件路径和xml的文件路径不一致

原创粉丝点击