使用这个不会造成冲突
同时不要把
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>3.0.3</version>
</dependency>
删除
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter-test</artifactId>
<version>3.0.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-extension</artifactId>
<version>3.5.3.1</version>
</dependency>
配置标签:mybatisplus,spring,boot,test,3.0,mybatis,org From: https://www.cnblogs.com/Wjk1/p/17923122.html
mybatis-plus:
mapper-locations: classpath:mapper/*.xml
type-aliases-package: com.wjk.springboot.mapper
mybatis:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl