出现问题org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.xiao.dao.AccountDao.findAllAccount。
今天写代码出现了这个问题(已经解决)
解决的方案
- 方案一修改
Account.xml为AccountDao.xml - 方案二修改映射
mappers中的表签package为resource
总结:package标签相比之下更加简便所以,要使用方案一;