# 业务系统开启websocket 业务开启websocket有可能会报错: No 'javax.websocket.server.ServerContainer' ServletContext attribute. Are you running in a Servlet container that supports JSR-356? 如提示上面的错则需要修改pom.xml文件,去掉undertow的依赖 <dependency> <groupId>org.springblade</groupId> <artifactId>blade-common</artifactId> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-undertow</artifactId> </exclusion> </exclusions> </dependency>