diff --git a/testing-modules/spring-testing/pom.xml b/testing-modules/spring-testing/pom.xml
index c4c929b7aa..665ac305a0 100644
--- a/testing-modules/spring-testing/pom.xml
+++ b/testing-modules/spring-testing/pom.xml
@@ -3,18 +3,18 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
+ com.baeldung
spring-testing
0.1-SNAPSHOT
spring-testing
-
- com.baeldung
- parent-boot-2
- 0.0.1-SNAPSHOT
- ../../parent-boot-2
-
-
+
+ ch.qos.logback
+ logback-classic
+ 1.5.0
+ test
+
org.hamcrest
java-hamcrest
@@ -23,29 +23,66 @@
org.projectlombok
lombok
- ${lombok.version}
+ 1.18.30
provided
org.springframework.boot
spring-boot-starter
+ 3.2.2
+
+
+ org.springframework.boot
+ spring-boot-starter-logging
+
+
-
org.springframework.boot
- spring-boot-starter-test
- test
+ spring-boot
+ 3.2.2
+
+
+ org.springframework.data
+ spring-data-jpa
+ 3.2.2
+
+
+ org.springframework.data
+ spring-data-commons
+ 3.2.2
+
+
+ org.springframework
+ spring-beans
+ ${spring.version}
org.springframework
spring-core
${spring.version}
+ compile
org.springframework
spring-context
${spring.version}
+
+ org.springframework
+ spring-expression
+ ${spring.version}
+
+
+ org.springframework
+ spring-test
+ ${spring.version}
+
+
+ org.springframework
+ spring-web
+ ${spring.version}
+
org.springframework
spring-webmvc
@@ -56,10 +93,6 @@
javax.persistence
${javax.persistence.version}
-
- org.springframework.data
- spring-data-jpa
-
org.awaitility
awaitility
@@ -67,9 +100,34 @@
test
- javax.servlet
- javax.servlet-api
- ${javax.servlet-api.version}
+ jakarta.servlet
+ jakarta.servlet-api
+ 6.0.0
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+ 3.2.2
+
+
+ org.springframework.boot
+ spring-boot-starter-logging
+
+
+
+
+ org.junit.jupiter
+ junit-jupiter
+ 5.9.2
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
+ 5.9.2
+ test
diff --git a/testing-modules/spring-testing/src/main/java/com/baeldung/config/WebConfig.java b/testing-modules/spring-testing/src/main/java/com/baeldung/config/WebConfig.java
index eca0aed57f..3ccd8b94da 100644
--- a/testing-modules/spring-testing/src/main/java/com/baeldung/config/WebConfig.java
+++ b/testing-modules/spring-testing/src/main/java/com/baeldung/config/WebConfig.java
@@ -5,7 +5,7 @@ import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
-import javax.servlet.ServletContext;
+import jakarta.servlet.ServletContext;
@EnableWebMvc
@Configuration
diff --git a/testing-modules/spring-testing/src/test/resources/logback-spring.xml b/testing-modules/spring-testing/src/test/resources/logback-spring.xml
new file mode 100644
index 0000000000..6636929220
--- /dev/null
+++ b/testing-modules/spring-testing/src/test/resources/logback-spring.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file