diff --git a/src/main/java/ru/dmitriymx/skeleton/springmvc/WebApp.java b/src/main/java/ru/dmitriymx/skeleton/springmvc/WebApp.java index 7e64d4d..ce306d6 100644 --- a/src/main/java/ru/dmitriymx/skeleton/springmvc/WebApp.java +++ b/src/main/java/ru/dmitriymx/skeleton/springmvc/WebApp.java @@ -13,12 +13,12 @@ import org.springframework.web.context.WebApplicationContext; import org.springframework.web.context.support.AnnotationConfigWebApplicationContext; import org.springframework.web.servlet.DispatcherServlet; import org.springframework.web.servlet.config.annotation.EnableWebMvc; -import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; +import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import java.net.InetSocketAddress; -@RequiredArgsConstructor @Slf4j +@RequiredArgsConstructor public class WebApp { private final String host; private final int port; @@ -29,7 +29,7 @@ public class WebApp { */ @Configuration @EnableWebMvc - public static class SpringConfigMVC extends WebMvcConfigurerAdapter { + public static class SpringConfigMVC implements WebMvcConfigurer { } /**