Guide doesn't build successfully.
gregturn opened this issue · comments
@rstoyanchev can you look at this guide, especially the "complete" version of the code? Something has changed and I thought you might spot it quicker than me.
I just got the latest and it's building okay for me. Is this still an issue? What's the failure?
The problem is we can't upgrade to Spring Boot RC3. To reproduce:
- Edit complete/pom.xml, upgrading to Spring Boot RC3
- Take out the version number for spring-messaging allowing it to float up to 4.0.1.RELEASE.
- Now try to build it and you should see something like:
[ERROR] /Users/gturnquist/src/spring-guides/gs-messaging-stomp-websocket/complete/src/main/java/hello/WebSocketConfig.java:[13,7] hello.WebSocketConfig is not abstract and does not override abstract method configureMessageConverters(java.util.List<org.springframework.messaging.converter.MessageConverter>) in org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
[ERROR] -> [Help 1]
Ah, for that simply implement the required method or have WebSocketConfig
extend AbstractWebSocketMessageBrokerConfigurer
(empty method base class).
Should be fixed by #12
Resolved by #12