spring boot 集成Mybatis时,运行提示
org.apache.ibatis.binding.BindingException:
Invalid bound statement (not found): zengmiaogen.csdn.cn.mybatis.PersonMapper.queryPersonList
按照下文的步骤,解决了问题
https://blog.csdn.net/qq_35981283/article/details/78590090
PersonMapper.xml 与 PersonMapper 是对应的
在spring扫描的时候,PersonMapper.xml要与 PersonMapper 相匹配
zengmiaogen.csdn.cn.mybatis.PersonMapper
<mapper namespace="zengmiaogen.csdn.cn.mybatis.PersonMapper"><select id="queryPersonList" resultType="person">select * from person</select>
</mapper>