MapperFacade自动导入失败

亦余心之所善兮,虽九死其犹未悔。这篇文章主要讲述MapperFacade自动导入失败相关的知识,希望能为你提供帮助。
MapperFacade自动导入失败【MapperFacade自动导入失败】添加以下代码并且保证项目可以扫描到:

@Configuration public class OrikaConfig { @Bean public MapperFactory mapperFactory() { return new DefaultMapperFactory.Builder().build(); }@Bean public MapperFacade mapperFacade() { return mapperFactory().getMapperFacade(); } }


    推荐阅读