天天看点

解决org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

项目:Springboot+mybatis,idea

报错:

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.sxdt.mgt.push.dao.HZPushTouristFlowDao.getScenicSpotsMaxLoad1

    at org.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(MapperMethod.java:225) ~[mybatis-3.4.4.jar:3.4.4

解决:

解决org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

 发现问题如下:

解决org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

 把mybatis的namespace改为正确的就行了。

继续阅读