diff --git a/samples/spring-data-mybatis/googlesql/pom.xml b/samples/spring-data-mybatis/googlesql/pom.xml
index 83cb7b996..dce45c21c 100644
--- a/samples/spring-data-mybatis/googlesql/pom.xml
+++ b/samples/spring-data-mybatis/googlesql/pom.xml
@@ -65,7 +65,7 @@
org.mybatis.spring.boot
mybatis-spring-boot-starter
- 3.0.5
+ 4.0.1
org.mybatis.dynamic-sql
diff --git a/samples/spring-data-mybatis/postgresql/pom.xml b/samples/spring-data-mybatis/postgresql/pom.xml
index a84ae3766..3656309b6 100644
--- a/samples/spring-data-mybatis/postgresql/pom.xml
+++ b/samples/spring-data-mybatis/postgresql/pom.xml
@@ -53,7 +53,7 @@
org.mybatis.spring.boot
mybatis-spring-boot-starter
- 3.0.5
+ 4.0.1
org.mybatis.dynamic-sql