diff --git a/src/main/java/common/config/WebMvcConfig.java b/src/main/java/common/config/WebMvcConfig.java index d2f853c..e765ea3 100644 --- a/src/main/java/common/config/WebMvcConfig.java +++ b/src/main/java/common/config/WebMvcConfig.java @@ -42,7 +42,7 @@ import java.util.*; @Configuration -@ComponentScan(basePackages = { "common", "naturaljs.builder" }, includeFilters = { +@ComponentScan(basePackages = { "common" }, includeFilters = { @ComponentScan.Filter(type = FilterType.ANNOTATION, value = Controller.class) }) public class WebMvcConfig implements WebMvcConfigurer {