解决Mybatis报错问题:org.apache.ibatis.binding.BindingException: Type interface com.kuang.dao.UserDao is
解决Mybatis报错问题:org.apache.ibatis.binding.BindingException: Type interface com.kuang.dao.UserDao is not known to the MapperRegistry.解决方案分为两种情况:1.在mybatis核心配置文件中(mybatis-config.xml)配置mappers<!--每一个Mapper.xml文件都需要在mybatis核心配置文件中注册--> <mappers&