来源:https://blog.csdn.net/qq_43199016/article/details/99652033
在Java使用MyBatis框架开发时,遇到报错:org.apache.ibatis.binding.BindingException: Type interface com.smbms.dao.provider.ProviderMapper is not known to the MapperRegistry.的解决方案。
首先我们分析这个错误,这个错误报的是没有绑定映射文件binding.BindingException,所以这个错误只要在MyBatis中加上对应的配置文件即可。
第二种情况是xxxxMapper.xml命名空间错误,
org.apache.ibatis.binding.BindingException: Type interface com.hx.dao.provider.ProviderMapper is not known to the MapperRegistry.
见顶部外链