springboot integration mybatis @MapperScan can not be added to the launcher

Mybatis scanning configuration package, the default boot @MapperScan loaded on startup class

 

 

 But you can also write a configuration class, also added to the above line

Published 22 original articles · won praise 21 · views 10000 +

Guess you like

Origin blog.csdn.net/corleone_4ever/article/details/104030122