I am trying to run Websocket on Spring (not STOMP, but a regular websocket), as shown here . However, after completing this lesson, I get the following exception:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.socket.server.support.DefaultHandshakeHandler#0': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.web.socket.server.support.DefaultHandshakeHandler]: Constructor threw exception; nested exception is java.lang.IllegalStateException: No suitable default RequestUpgradeStrategy found
I got this in several versions of Tomcat, the newest (which I suppose should have JSR 356 support) was Tomcat 7.0.50
What can i do wrong?
java spring spring-mvc tomcat
Kristof
source share