From 9af5010a9caea40814123486fcac3b35e4a6ec40 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Mon, 26 Jun 2023 18:04:10 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=A4=EC=A0=95=20=EB=B3=B5=EA=B5=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 12 --------- .../java/cokr/xit/fims/FimsApplication.java | 27 +------------------ 2 files changed, 1 insertion(+), 38 deletions(-) diff --git a/pom.xml b/pom.xml index 1a122d3f..f17477a3 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,6 @@ 0.0.1-SNAPSHOT fims fims - war 17 @@ -63,23 +62,12 @@ cokr.xit.boot xit-base-starter 23.04.01-SNAPSHOT - - - org.springframework.boot - spring-boot-starter-tomcat - - org.mariadb.jdbc mariadb-java-client runtime - - org.springframework.boot - spring-boot-starter-tomcat - provided - diff --git a/src/main/java/cokr/xit/fims/FimsApplication.java b/src/main/java/cokr/xit/fims/FimsApplication.java index 8df797e2..c40490a3 100644 --- a/src/main/java/cokr/xit/fims/FimsApplication.java +++ b/src/main/java/cokr/xit/fims/FimsApplication.java @@ -1,37 +1,12 @@ package cokr.xit.fims; import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.ImportAutoConfiguration; -import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.boot.builder.SpringApplicationBuilder; -import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; - -import cokr.xit.base.boot.MvcConfig2; -import cokr.xit.base.boot.SecurityConfig; import cokr.xit.base.boot.XitBaseApplication; -import cokr.xit.foundation.boot.CommonConfig; -import cokr.xit.foundation.boot.DatasourceConfig; -import cokr.xit.foundation.boot.ServletConfig; -import cokr.xit.foundation.boot.TransactionConfig; -@SpringBootApplication -@ImportAutoConfiguration({ - CommonConfig.class, - ServletConfig.class, - MvcConfig2.class, - DatasourceConfig.class, - TransactionConfig.class, - SecurityConfig.class, -}) -public class FimsApplication extends SpringBootServletInitializer { +public class FimsApplication extends XitBaseApplication { public static void main(String[] args) { SpringApplication.run(FimsApplication.class, args); } - @Override - protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { - return application.sources(FimsApplication.class); - } - }