ultiple Endpoints may not be deployed to the same path

@Configuration
public class WebSocketConfig {
//打war包启动需要注释掉此:否则报 :DeploymentException: Multiple Endpoints may not be deployed to the same path
// @Bean
// public ServerEndpointExporter serverEndpointExporter (){
// return new ServerEndpointExporter();
// }
}
posted @ 2019-03-25 11:36  Alamps  阅读(713)  评论(0编辑  收藏  举报