ache.ibatis.binding.BindingException: Type interface dynamicDao.dao.UserDao is not known to the Mapp

MyBatis中进行动态代理测试的时候出现如下错误的原因是,中命名空间不是所定义接口的类路径。


ache.ibatis.binding.BindingException: Type interface dynamicDao.dao.UserDao is not known to the MapperRegistry.
at org.apache.ibatis.binding.MapperRegistry.getMapper(MapperRegistry.java:42)

你可能感兴趣的:(mybatis)