使用IDEA+Maven创建web:Failed to register @ServerEndpoint class: class com.snr.websocket.WsServerEndpoint
使用IDEA+Maven+Spring创建web出现报错:Failed to register @ServerEndpoint class: class com.snr.websocket.WsServerEndpoint
·
使用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">
注释掉即可
更多推荐
已为社区贡献1条内容
所有评论(0)