解决Multiple Endpoints may not be deployed to the same path [/msg]

约定不等于承诺〃 2022-03-26 16:52 249阅读 0赞

在启动类中注释掉

  1. // @Bean
  2. // public ServerEndpointExporter getServerEndpointExporter() {
  3. // return new ServerEndpointExporter();
  4. // }

这样就ok 了,由于tomcat中不需要、
2

发表评论

表情:
评论列表 (有 0 条评论,249人围观)

还没有评论,来说两句吧...

相关阅读