From fd3452354fddf7726a2bd2eba153f02321fe4f67 Mon Sep 17 00:00:00 2001 From: belljun3395 <195850@jnu.ac.kr> Date: Tue, 25 Jun 2024 12:52:42 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20@EnableWebMvc=EA=B0=80=20=EC=97=86?= =?UTF-8?q?=EC=96=B4=EC=84=9C=20=EB=B0=B0=ED=8F=AC=20=EC=9D=B4=EB=AF=B8?= =?UTF-8?q?=EC=A7=80=EA=B0=80=20=EB=8F=99=EC=9E=91=ED=95=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - todo: 로컬에서는 왜 없어도 동작하는지 확인 필요 --- api/src/main/kotlin/com/few/api/config/ApiConfig.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/src/main/kotlin/com/few/api/config/ApiConfig.kt b/api/src/main/kotlin/com/few/api/config/ApiConfig.kt index 01ede359b..b23625075 100644 --- a/api/src/main/kotlin/com/few/api/config/ApiConfig.kt +++ b/api/src/main/kotlin/com/few/api/config/ApiConfig.kt @@ -5,10 +5,12 @@ import com.few.batch.config.BatchConfig import org.springframework.context.annotation.ComponentScan import org.springframework.context.annotation.Configuration import org.springframework.context.annotation.Import +import org.springframework.web.servlet.config.annotation.EnableWebMvc @Configuration @ComponentScan(basePackages = [ApiConfig.BASE_PACKAGE]) @Import(ApiRepoConfig::class, BatchConfig::class) +@EnableWebMvc class ApiConfig { companion object { const val BASE_PACKAGE = "com.few.api"