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 --- .../main/java/com/juick/ws/configuration/WebsocketConfiguration.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'juick-ws/src') diff --git a/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java b/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java index a2c2d827..a4317601 100644 --- a/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java +++ b/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java @@ -22,7 +22,6 @@ import com.juick.server.protocol.JuickProtocol; import com.juick.ws.WebsocketComponent; import org.springframework.context.annotation.*; import org.springframework.scheduling.annotation.EnableScheduling; -import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport; import org.springframework.web.socket.config.annotation.EnableWebSocket; import org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistry; import org.springframework.web.socket.config.annotation.WebSocketConfigurer; @@ -37,8 +36,7 @@ import org.springframework.web.socket.server.standard.ServletServerContainerFact @EnableScheduling @EnableWebSocket @PropertySource("classpath:juick.conf") -@Import(BaseWebConfiguration.class) -class WebsocketConfiguration extends WebMvcConfigurationSupport implements WebSocketConfigurer { +class WebsocketConfiguration extends BaseWebConfiguration implements WebSocketConfigurer { @Bean public WebsocketComponent wsHandler() { -- cgit v1.2.3