解决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
解决:
发现问题如下:
把mybatis的namespace改为正确的就行了。