SpringBootTest Attribute 'javax.websocket.server.ServerContainer' not found in ServletContent
使用 springboot 测试 service 类
Attribute 'javax.websocket.server.ServerContainer' not found in ServletConte
解决办法
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)