1.打开Jetty的根目录下的“start.ini”配置文件;web
2.将第49行:websocket
OPTIONS=Server,jsp,jmx,resources,websocket,ext
OPTIONS=Server,jsp,jmx,resources,websocket,ext,plus,annotations
3.从新启动Jetty便可。socket