From e202897962497af1019fcd8f8d9ce67c91884696 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Wed, 28 Jun 2023 18:35:22 +0900 Subject: [PATCH] =?UTF-8?q?@EnableWebMvc=20=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/foundation/boot/MvcConfig.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/cokr/xit/foundation/boot/MvcConfig.java b/src/main/java/cokr/xit/foundation/boot/MvcConfig.java index ec3aede..72c4dda 100644 --- a/src/main/java/cokr/xit/foundation/boot/MvcConfig.java +++ b/src/main/java/cokr/xit/foundation/boot/MvcConfig.java @@ -4,6 +4,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.multipart.commons.CommonsMultipartResolver; +import org.springframework.web.servlet.config.annotation.EnableWebMvc; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; @@ -19,6 +20,7 @@ import cokr.xit.foundation.web.AccessInitializer; /**web mvc 설정(기존 dispatcher servlet) 클래스 * @author mjkhan */ +@EnableWebMvc @Configuration public class MvcConfig implements WebMvcConfigurer { protected static String[] URL_PATTERNS = {"/", "/**/*.do"};