diff --git a/spring-boot-modules/spring-boot-3-testcontainers/pom.xml b/spring-boot-modules/spring-boot-3-testcontainers/pom.xml
index 24b88bc7bc..6763d1b3d4 100644
--- a/spring-boot-modules/spring-boot-3-testcontainers/pom.xml
+++ b/spring-boot-modules/spring-boot-3-testcontainers/pom.xml
@@ -25,6 +25,7 @@
org.springframework.boot
spring-boot-starter-web
+ ${spring-boot.version}
org.springframework.boot
diff --git a/spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/middleearth/MiddleEarthCharacter.java b/spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/support/MiddleEarthCharacter.java
similarity index 88%
rename from spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/middleearth/MiddleEarthCharacter.java
rename to spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/support/MiddleEarthCharacter.java
index 38f125d3cf..4780a2f66a 100644
--- a/spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/middleearth/MiddleEarthCharacter.java
+++ b/spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/support/MiddleEarthCharacter.java
@@ -1,4 +1,4 @@
-package com.baeldung.testcontainers.middleearth;
+package com.baeldung.testcontainers.support;
import java.util.UUID;
diff --git a/spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/middleearth/MiddleEarthCharactersController.java b/spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/support/MiddleEarthCharactersController.java
similarity index 95%
rename from spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/middleearth/MiddleEarthCharactersController.java
rename to spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/support/MiddleEarthCharactersController.java
index ef99732cc8..3b7bfddbef 100644
--- a/spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/middleearth/MiddleEarthCharactersController.java
+++ b/spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/support/MiddleEarthCharactersController.java
@@ -1,4 +1,4 @@
-package com.baeldung.testcontainers.middleearth;
+package com.baeldung.testcontainers.support;
import java.util.List;
diff --git a/spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/middleearth/MiddleEarthCharactersRepository.java b/spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/support/MiddleEarthCharactersRepository.java
similarity index 86%
rename from spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/middleearth/MiddleEarthCharactersRepository.java
rename to spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/support/MiddleEarthCharactersRepository.java
index 6101d7d1e1..a668650670 100644
--- a/spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/middleearth/MiddleEarthCharactersRepository.java
+++ b/spring-boot-modules/spring-boot-3-testcontainers/src/main/java/com/baeldung/testcontainers/support/MiddleEarthCharactersRepository.java
@@ -1,4 +1,4 @@
-package com.baeldung.testcontainers.middleearth;
+package com.baeldung.testcontainers.support;
import java.util.List;
diff --git a/spring-boot-modules/spring-boot-3-testcontainers/src/test/java/com/baeldung/testcontainers/DynamicPropertiesIntegrationTest.java b/spring-boot-modules/spring-boot-3-testcontainers/src/test/java/com/baeldung/testcontainers/DynamicPropertiesIntegrationTest.java
index f66603b420..f008471b2a 100644
--- a/spring-boot-modules/spring-boot-3-testcontainers/src/test/java/com/baeldung/testcontainers/DynamicPropertiesIntegrationTest.java
+++ b/spring-boot-modules/spring-boot-3-testcontainers/src/test/java/com/baeldung/testcontainers/DynamicPropertiesIntegrationTest.java
@@ -11,7 +11,6 @@ import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.boot.testcontainers.service.connection.ServiceConnection;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.DynamicPropertyRegistry;
import org.springframework.test.context.DynamicPropertySource;
@@ -20,8 +19,8 @@ import org.testcontainers.junit.jupiter.Container;
import org.testcontainers.junit.jupiter.Testcontainers;
import org.testcontainers.utility.DockerImageName;
-import com.baeldung.testcontainers.middleearth.MiddleEarthCharacter;
-import com.baeldung.testcontainers.middleearth.MiddleEarthCharactersRepository;
+import com.baeldung.testcontainers.support.MiddleEarthCharacter;
+import com.baeldung.testcontainers.support.MiddleEarthCharactersRepository;
@Testcontainers
@SpringBootTest(webEnvironment = DEFINED_PORT)
diff --git a/spring-boot-modules/spring-boot-3-testcontainers/src/test/java/com/baeldung/testcontainers/ServiceConnectionIntegrationTest.java b/spring-boot-modules/spring-boot-3-testcontainers/src/test/java/com/baeldung/testcontainers/ServiceConnectionIntegrationTest.java
index 29e5b51704..d7cdbbd580 100644
--- a/spring-boot-modules/spring-boot-3-testcontainers/src/test/java/com/baeldung/testcontainers/ServiceConnectionIntegrationTest.java
+++ b/spring-boot-modules/spring-boot-3-testcontainers/src/test/java/com/baeldung/testcontainers/ServiceConnectionIntegrationTest.java
@@ -18,8 +18,8 @@ import org.testcontainers.junit.jupiter.Container;
import org.testcontainers.junit.jupiter.Testcontainers;
import org.testcontainers.utility.DockerImageName;
-import com.baeldung.testcontainers.middleearth.MiddleEarthCharacter;
-import com.baeldung.testcontainers.middleearth.MiddleEarthCharactersRepository;
+import com.baeldung.testcontainers.support.MiddleEarthCharacter;
+import com.baeldung.testcontainers.support.MiddleEarthCharactersRepository;
@Testcontainers
@SpringBootTest(webEnvironment = DEFINED_PORT)