您的位置:首页 > 移动开发

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

2017-08-09 09:51 465 查看
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的文件路径不一致
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐