如果用外置tomcat,要注释掉以下代码,否则启动项目会报错,用springboot内置tomcat就得放开以下代码
@Bean
public ServerEndpointExporter serverEndpointExporter() {
return new ServerEndpointExporter();
}
作者:石小哥
来源:CSDN
原文:https://blog.csdn.net/qq_18649209/article/details/79529434
版权声明:本文为博主原创文章,转载请附上博文链接!