在这里插入代码片
@TOC
org.apache.ibatis.binding.BindingException: Type interface com.itcaste.dao.IAccountDao is not known to the MapperRegistry.
错误原因:由于主配置文件SqlMapConfig.xml未映射到IAccountDao.xml的sql配置文件具体如下:
<mappers>
<mapper resource="com/itcaste/dao/IUserDao.xml"></mapper>
</mappers>
解决方案:映射增加配置文件