springboot项目打成war包需要相关websoket的设置

1、注释配置:

2、注释启动类:

3、在tomcat中的cnf下的context.xml中配置:

<Loader delegate="true"></Loader> 

 

posted @ 2018-11-09 11:12  依旧爱你  阅读(314)  评论(0编辑  收藏  举报