I tried to run this example from the spring site: tutorial except the Spring Boot part.
Web.xml
Archetype C
Also if you want not to pass login/password to server (as you might rely on Spring security) then you shouldn't use
stompClient.connect('', '', function(frame) {
but instead
stompClient.connect({}, function(frame) {
Take a look here: https://github.com/spring-guides/gs-messaging-stomp-websocket/issues/10