使用WebSocket致使jUnit单元测试报No suitable default RequestUpgradeStrategy found错误的解决方法 小记

废话很少说直接贴图web 咱们只须要在依赖中添加apache <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-websocket</artifactId> <version>7.0.52</version> <scope>test</scope> </dependency> 便可。to
相关文章
相关标签/搜索