From 9b91c5584cb6fbba46d2778f5932bd4c078685e3 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 5 Sep 2017 16:27:18 +0300 Subject: fix other web configurations --- .../com/juick/components/configuration/XmppAppConfiguration.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'juick-xmpp/src/main/java') diff --git a/juick-xmpp/src/main/java/com/juick/components/configuration/XmppAppConfiguration.java b/juick-xmpp/src/main/java/com/juick/components/configuration/XmppAppConfiguration.java index 367c960d..92506cbd 100644 --- a/juick-xmpp/src/main/java/com/juick/components/configuration/XmppAppConfiguration.java +++ b/juick-xmpp/src/main/java/com/juick/components/configuration/XmppAppConfiguration.java @@ -30,7 +30,7 @@ import org.apache.commons.lang3.BooleanUtils; import org.springframework.context.annotation.*; import org.springframework.core.env.Environment; import org.springframework.scheduling.annotation.EnableScheduling; -import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport; +import org.springframework.web.servlet.config.annotation.EnableWebMvc; import javax.inject.Inject; import java.util.concurrent.ExecutorService; @@ -39,9 +39,9 @@ import java.util.concurrent.Executors; @Configuration @ComponentScan(basePackages = {"com.juick.components.controllers"}) @PropertySource("classpath:juick.conf") -@Import(BaseWebConfiguration.class) @EnableScheduling -public class XmppAppConfiguration extends WebMvcConfigurationSupport { +@EnableWebMvc +public class XmppAppConfiguration extends BaseWebConfiguration { @Inject private Environment env; -- cgit v1.2.3