<mappers>
<!-- <mapper resource="cn/itcast/moduldao/userdao01.xml"></mapper>-->
<package name="cn.itcast.moduldao"/>
<!-- <mapper resource="cn/itcast/moduldao/personspdao.xml"></mapper>-->
</mappers>
上述路径用resources 程序正常运行,当换成package后程序出错
-
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): cn.itcast.moduldao.Personshopdao.findpersonAndshop