org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) 这个问题是mybatis的dao层接口和mapper.xml文件不匹配,仔细找找他们的名称是否一致,就搞定了。
我找到的问题是:
mapperLocations: classpath*:mapper/*.xml typeAliasesPackage: com.unicom.healthcheck.dataobject
记得properties不能直接复制到yml来,名称很可能不一致哦,一般是驼峰变成 - 的格式。
这类问题的可能原因: