diff --git a/spring-boot-modules/spring-boot-testing/pom.xml b/spring-boot-modules/spring-boot-testing/pom.xml
index f54a1964f9..7eadfd9b24 100644
--- a/spring-boot-modules/spring-boot-testing/pom.xml
+++ b/spring-boot-modules/spring-boot-testing/pom.xml
@@ -147,7 +147,7 @@
com.baeldung.boot.Application
2.2.4
- 2.4-M1-groovy-4.0
+ 2.4-M1-groovy-3.0
2.0.0
3.10.1
0.7.2