Skipping MapperFactoryBean with name 'demoMapper' and 'dry.module.example.mapper.DemoMapper' mapperInterface. Bean already defined with the same name!
No MyBatis mapper was found in '[dry]' package. Please check your configuration.
我没有在启动类上添加@MapperScan,但是我在每一个类上添加了@Mapper的,xml文件也配置好了,项目运行没有问题,但是不想看到警告
加一个伪Mapper就能解决。
https://my.oschina.net/kevin2...