From 0e113fd9ef0b66e3644ac5808c1261fcb4fc5829 Mon Sep 17 00:00:00 2001 From: Dftre <3066417822@qq.com> Date: Mon, 7 Oct 2024 22:58:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20MyBatis=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 spring-boot-starter-parent 更改为 spring-boot-dependencies,以更好地管理依赖。同时,显式添加 mybatis 依赖,并指定版本号。这些更改确保了依赖管理更加精确,避免了潜在的版本冲突问题。 --- pom.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a8d6099..be9863e 100644 --- a/pom.xml +++ b/pom.xml @@ -49,7 +49,7 @@ org.springframework.boot - spring-boot-starter-parent + spring-boot-dependencies ${spring-boot.version} pom import @@ -61,6 +61,11 @@ mybatis-spring-boot-starter ${mybatis-spring-boot.version} + + org.mybatis + mybatis + 3.5.16 +