diff options
Diffstat (limited to 'juick-notifications')
-rw-r--r-- | juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java index 920e095a..cb921fe5 100644 --- a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java +++ b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java @@ -7,6 +7,7 @@ import com.juick.server.configuration.BaseWebConfiguration; import org.springframework.context.annotation.*; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.web.servlet.config.annotation.EnableWebMvc; +import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; /** * Created by aalexeev on 11/12/16. @@ -16,8 +17,8 @@ import org.springframework.web.servlet.config.annotation.EnableWebMvc; @EnableScheduling @ComponentScan(basePackages = "com.juick.components.service") @Import({ APNSConfiguration.class, MPNSConfiguration.class, - GCMConfiguration.class, JuickServerWebsocketConfiguration.class}) -public class NotificationsAppConfiguration extends BaseWebConfiguration { + GCMConfiguration.class, JuickServerWebsocketConfiguration.class, BaseWebConfiguration.class}) +public class NotificationsAppConfiguration implements WebMvcConfigurer { @Bean public JuickServerComponent juickServerComponent() { |