Type interface xxxxxx is not known to the MapperRegistry.报错原因 在configuration.xml文件中的<mappers>没有载入注册的xml文件 修改为 程序正常运行