From 3a1a1cebfa258efc89da1eded19c75b0689be270 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 20 Mar 2018 11:41:56 +0300 Subject: push: fix configuration --- .../components/configuration/NotificationsAppConfiguration.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'juick-notifications/src/main/java/com') 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() { -- cgit v1.2.3