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的文件路径不一致

posted on 2017-08-09 09:51  2637282556  阅读(109)  评论(0编辑  收藏  举报