diff options
author | Vitaly Takmazov | 2017-09-05 16:27:18 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-09-05 16:27:18 +0300 |
commit | 9b91c5584cb6fbba46d2778f5932bd4c078685e3 (patch) | |
tree | 1466a70c18b53886996e08996cead817d520a2ae /juick-xmpp/src/main | |
parent | 8e5160fcb39c90c83bcda58f1070d07a3dea498d (diff) |
fix other web configurations
Diffstat (limited to 'juick-xmpp/src/main')
-rw-r--r-- | juick-xmpp/src/main/java/com/juick/components/configuration/XmppAppConfiguration.java | 6 |
1 files changed, 3 insertions, 3 deletions
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; |