原文:springboot整合websocket后运行测试类报错:javax.websocket.server.ServerContainer not available

springboot项目添加websocket依赖后运行测试类报如下错误: 解决办法:为SpringbootTest注解指定参数classes和webEnvironment 对于springboot如何创建ApplicationContext,可以参考博客:https: blog.csdn.net lilongjiu article details 。 ...

2019-02-13 14:35 0 6232 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM