From c4ed8d458e26c98c595acde60a595edb4f1a7b8b Mon Sep 17 00:00:00 2001 From: mikr Date: Mon, 15 Nov 2021 21:37:22 +0100 Subject: [PATCH] JAVA-8293 Split or move Spring Boot module (fix review comments) --- spring-boot-modules/spring-boot-1/pom.xml | 6 +++++- .../servletinitializer/WarInitializerApplication.java | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/spring-boot-modules/spring-boot-1/pom.xml b/spring-boot-modules/spring-boot-1/pom.xml index 82a1a38397..b6e3717f7c 100644 --- a/spring-boot-modules/spring-boot-1/pom.xml +++ b/spring-boot-modules/spring-boot-1/pom.xml @@ -43,7 +43,7 @@ org.apache.logging.log4j log4j-core - 2.14.1 + ${log4j2.version} com.h2database @@ -67,4 +67,8 @@ + + 2.14.1 + + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-1/src/main/java/com/baeldung/servletinitializer/WarInitializerApplication.java b/spring-boot-modules/spring-boot-1/src/main/java/com/baeldung/servletinitializer/WarInitializerApplication.java index 3b360b4adc..0aa0f0ae0b 100644 --- a/spring-boot-modules/spring-boot-1/src/main/java/com/baeldung/servletinitializer/WarInitializerApplication.java +++ b/spring-boot-modules/spring-boot-1/src/main/java/com/baeldung/servletinitializer/WarInitializerApplication.java @@ -5,7 +5,6 @@ import java.time.LocalDateTime; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; -//import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; import org.springframework.boot.web.support.SpringBootServletInitializer; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping;