title: Spring 4 MVC and Websockets - No suitable default RequestUpgradeStrategy
body: <p>I need Websockets for real-time updates in my application. So i found this example and did it step by step <a href="http://raymondhlee.wordpress.com/2014/01/19/using-spring-4-websocket-sockjs-and-stomp-support-to-implement-two-way-server-client-communication/" rel="noreferrer">here</a>. I went through the tutorial and finally i got this exception when starting the application:</p>
  <blockquote>
  <pre><code>org.springframework.beans.factory.BeanCreationException: Error creating bean with name
  </code></pre>
  <p>'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</p>
  </blockquote>
  <p>I have searched a lot, but i didn't find a solution.</p>
  <p>I hope anyone can help me, thanks in advance.</p>
  <p>best regards, patrick</p>