I\'m not able to connect Angular2 front-end with Spring\'s websocket back-end.
Spring configuration xml file:
I found a solution to this problem some time ago, I'll post it here also.
The issue is that: npm install sockjs-client
downloads sockjs-node instead of client. I hope they will fix it soon.
If you're facing the same issue you should download this file http://cdn.jsdelivr.net/sockjs/1/sockjs.min.js
put it in your project and point to it in system-config.ts
.