原文:SpringBoot報錯:Failed to load ApplicationContext(javax.websocket.server.ServerContainer not available)

引起條件: WebSocket 單元測試,單元測試報錯 解決方法: SpringBootTest增加webEnvironment參數。 https: docs.spring.io spring boot docs current reference html boot features testing.html boot features testing spring boot applicati ...

2019-01-19 17:26 0 1528 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM