原文: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