log4j2的时候要排除jar的冲突,可以用denpendency:tree 来查看一个依赖关系,主要的的话在mybatis-spring-boot-starter ,还有在那个 mybatis-spring-boot-starter-test也会有