springboot打包报错javax.websocket.server.ServerContainer not available的解决办法
在单元测试类中修改@SpringBootTest的内容如下:@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)
·
在单元测试类中修改@SpringBootTest的内容如下:
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)
更多推荐
所有评论(0)