Today found spring-boot inherited WARN always appear when mybatis start:
org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.aaa.bbb]' package. Please check your configuration.
Tk used open source projects integrated mybatis
I checked a lot of solutions but to no avail, last seen in an article:
doScan () will scan mapper interface to start classes at the same level directory, but definitely not the result of rational directory mapper are all under the startup class directory
So in the startup class directory adds a pseudo-mapper
NoWarnMapper.java
Restart the service, warn the message disappears