fix: 使用mybatis-plus-spring-boot3-starter兼容Spring Boot 3.x

This commit is contained in:
zhangjf 2026-02-17 16:12:57 +08:00
parent 5ebbb13a51
commit 919ae58b10
2 changed files with 4 additions and 2 deletions

View File

@ -24,9 +24,10 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
</dependency> </dependency>
<!-- MyBatis-Plus for Spring Boot 3 -->
<dependency> <dependency>
<groupId>com.baomidou</groupId> <groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId> <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
<version>3.5.5</version> <version>3.5.5</version>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -24,9 +24,10 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
</dependency> </dependency>
<!-- MyBatis-Plus for Spring Boot 3 -->
<dependency> <dependency>
<groupId>com.baomidou</groupId> <groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId> <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
<version>3.5.5</version> <version>3.5.5</version>
</dependency> </dependency>
<dependency> <dependency>