I am creating a sample chat application using the Spring websockets and stomp.js , I am using the tomcat 7.54 but while runing the application I am gettting a async-support
I was having the same issue with SpringBoot app and for me, it started working
1) after adding asyncSupported
to the filter like @WebFilter(urlPatterns="/api-acess/*",asyncSupported = true )
2) added sameOrigin()
support to WebSecurityConfigurerAdapter
extended class like http.headers().frameOptions().sameOrigin();
I hope it will help someone else.