当前位置: 代码迷 >> 综合 >> springboot打包报错javax.websocket.server.ServerContainer not available的解决办法
  详细解决方案

springboot打包报错javax.websocket.server.ServerContainer not available的解决办法

热度:14   发布时间:2024-01-05 14:58:47.0

在单元测试类中修改@SpringBootTest的内容如下:

@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)

  相关解决方案