From c62a7214a90f9fb1bf56c761c5484df6a1165b95 Mon Sep 17 00:00:00 2001 From: leebj Date: Thu, 18 Jul 2024 18:05:42 +0900 Subject: [PATCH] =?UTF-8?q?HTTP=EC=83=81=ED=83=9C=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=A7=80=EC=A0=95=20Exception=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/fims/FimsApplication.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/cokr/xit/fims/FimsApplication.java b/src/main/java/cokr/xit/fims/FimsApplication.java index b040ab98..030965ae 100644 --- a/src/main/java/cokr/xit/fims/FimsApplication.java +++ b/src/main/java/cokr/xit/fims/FimsApplication.java @@ -4,6 +4,7 @@ import org.springframework.boot.Banner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.ImportAutoConfiguration; import org.springframework.boot.builder.SpringApplicationBuilder; +import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ImportResource; import cokr.xit.base.ServletCustomizer; @@ -12,6 +13,7 @@ import cokr.xit.fims.task.TaskMvcConfig; @ImportAutoConfiguration({ServletCustomizer.class, TaskMvcConfig.class}) @ImportResource("classpath:spring/context-*.xml") +@ComponentScan(basePackageClasses = cokr.xit.applib.HttpStatusCodeExceptionControllerAdvice.class) public class FimsApplication extends XitBaseApplication { public static void main(String[] args) {