I’ve downloaded the latest Jetty 8 Hightide, but cannot get WebSockets to work. I unzip the distribution, put my .war file in the webapps folder and start:
java.lang.NoClassDefFoundError: org/eclipse/jetty/websocket/WebSocketServlet
I’ve verified that the JETTY_HOME/lib folder contains the jetty-websocket.jar and it contains the WebSocketServlet class file.
I’ve had this running before with the milestone releases.
For some reason, it appears that web sockets are no longer available by default, so the following code is needed in the context XML file: