使用IDEA+Maven+Spring创建web出现报错:Failed to register @ServerEndpoint class: class com.snr.websocket.WsServerEndpoint
前提是如果使用的是Mysql5版本的
就把spring配置文件中的
<bean id="serverEndpointExporter" class="org.springframework.web.socket.server.standard.ServerEndpointExporter">
注释掉即可