diff --git a/samples/spring-data-mybatis/googlesql/pom.xml b/samples/spring-data-mybatis/googlesql/pom.xml
index 3fa032f64..d64aa9b87 100644
--- a/samples/spring-data-mybatis/googlesql/pom.xml
+++ b/samples/spring-data-mybatis/googlesql/pom.xml
@@ -64,7 +64,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 eb262a031..7e61f90b5 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