项目

一般

简介

内嵌版报 No 'javax.websocket.server.ServerContainer' ServletContext attribute. Are you running in a Servlet container that supports JSR-356 的问题

由 huang junrui 在 将近 4 年 之前添加

异常信息:No 'javax.websocket.server.ServerContainer' ServletContext attribute. Are you running in a Servlet container that supports JSR-356 

版本号:

解决时间:2021-08-30

解决方案:pom去除tomcat内核,并导入v10敏捷的websocket依赖

界面现象:

日志截图:

解决操作: