From 9b92daab4b4a3003f3fcc0ab6627bf0591ac5ab8 Mon Sep 17 00:00:00 2001 From: Goldman Kim Date: Tue, 2 Apr 2024 17:05:51 +0900 Subject: [PATCH] Update. --- src/main/java/common/config/WebMvcConfig.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/common/config/WebMvcConfig.java b/src/main/java/common/config/WebMvcConfig.java index bd63ca4..45b6d48 100644 --- a/src/main/java/common/config/WebMvcConfig.java +++ b/src/main/java/common/config/WebMvcConfig.java @@ -23,8 +23,6 @@ import org.springframework.web.accept.ContentNegotiationManager; import org.springframework.web.accept.PathExtensionContentNegotiationStrategy; import org.springframework.web.filter.ShallowEtagHeaderFilter; -import org.springframework.web.multipart.MultipartResolver; -import org.springframework.web.multipart.support.StandardServletMultipartResolver; import org.springframework.web.servlet.LocaleResolver; import org.springframework.web.servlet.View; import org.springframework.web.servlet.ViewResolver; @@ -44,7 +42,7 @@ import java.util.*; @Configuration -@ComponentScan(basePackages = { "common" }, includeFilters = { +@ComponentScan(basePackages = { "common", "naturaljs.natural_template_designer_server.file" }, includeFilters = { @ComponentScan.Filter(type = FilterType.ANNOTATION, value = Controller.class) }) public class WebMvcConfig implements WebMvcConfigurer {