MyBatis Invalid bound statement
2015-05-08 11:19
281 查看
1. problem description
Spring 3.2.x, MyBatis 3.1.x
2. troubleshooting
The root cause is incorrect mapper xml's namespace, it should be the interface full name, rather than the package full name.
Spring 3.2.x, MyBatis 3.1.x
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.***.Dao.getItemsByPeriod at org.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(MapperMethod.java:189) at org.apache.ibatis.binding.MapperMethod.<init>(MapperMethod.java:43) at org.apache.ibatis.binding.MapperProxy.cachedMapperMethod(MapperProxy.java:58) at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:51) at $Proxy90.getBasBetsByPeriod(Unknown Source)
2. troubleshooting
The root cause is incorrect mapper xml's namespace, it should be the interface full name, rather than the package full name.
相关文章推荐
- MyBatis Invalid bound statement (not found)错误
- springmvc+mybatis 诡异问题 Invalid bound statement (not found)
- MYBATIS异常:INVALID BOUND STATEMENT
- Mybatis Invalid bound statement (not found)问题分析
- Invalid bound statement (not found)-Mybatis在idea中错误
- Maven项目mybatis Invalid bound statement (not found)解决方法
- mybatis一个怪异的问题: Invalid bound statement not found
- maven + mybatis Invalid bound statement (not found) 错误解决
- spring boot mybatis Invalid bound statement (not found)
- mybatis Invalid bound statement (not found)
- Maven项目mybatis Invalid bound statement (not found)解决方法
- mybatis一个怪异的问题: Invalid bound statement not found":
- MyBatis Invalid Bound Statement
- mybatis 错误排查BindingException: Invalid bound statement
- springboot 集成mybatis Invalid bound statement (not found)异常
- Mybatis——Invalid bound statement (not found)-Could not find result map java.lang.Integer
- mybatis invalid bound statement (not found) : com.XXXX
- springboot 集成mybatis Invalid bound statement (not found)异常
- mybatis invalid bound statement (not found) 当心文件确实不存在
- Mybatis框架的错误:Invalid bound statement not found