diff options
Diffstat (limited to 'juick-xmpp-bot/src/main/java/com/juick/components/configuration/BotInitializer.java')
-rw-r--r-- | juick-xmpp-bot/src/main/java/com/juick/components/configuration/BotInitializer.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/juick-xmpp-bot/src/main/java/com/juick/components/configuration/BotInitializer.java b/juick-xmpp-bot/src/main/java/com/juick/components/configuration/BotInitializer.java index 9e8745af..ce4afd0c 100644 --- a/juick-xmpp-bot/src/main/java/com/juick/components/configuration/BotInitializer.java +++ b/juick-xmpp-bot/src/main/java/com/juick/components/configuration/BotInitializer.java @@ -1,7 +1,6 @@ package com.juick.components.configuration; import com.juick.configuration.DataConfiguration; -import com.juick.server.configuration.BaseWebConfiguration; import org.apache.commons.codec.CharEncoding; import org.springframework.web.filter.CharacterEncodingFilter; import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer; @@ -15,12 +14,12 @@ public class BotInitializer extends AbstractAnnotationConfigDispatcherServletIni @Override protected Class<?>[] getRootConfigClasses() { - return new Class<?>[]{BotAppConfiguration.class, DataConfiguration.class}; + return new Class<?>[]{ DataConfiguration.class }; } @Override protected Class<?>[] getServletConfigClasses() { - return new Class<?>[]{ BaseWebConfiguration.class }; + return new Class<?>[]{ BotAppConfiguration.class }; } @Override |