org.apache.ibatis.binding.BindingException: Type interface xxx is not known to the MapperRegistry.
问题描述org.apache.ibatis.binding.BindingException: Type interface com.ghost.mybatis.dao.UserMapper is not known to the MapperRegistry.问题解决在mybatis的核心配置文件中未注册 <mappers> <mapper resource="mapper/UserMapper.xml"/> </mappers>.