美文网首页java
springboot集成websocket后单元测试报错

springboot集成websocket后单元测试报错

作者: 期丨期 | 来源:发表于2020-06-03 09:22 被阅读0次

    springboot集成websocket后单元测试报错:

    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverEndpointExporter' defined in class path resource [com
    Caused by: java.lang.IllegalStateException: javax.websocket.server.ServerContainer not available
    
    @SpringBootTest(classes = {Application.class}, webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)
    

    相关文章

      网友评论

        本文标题:springboot集成websocket后单元测试报错

        本文链接:https://www.haomeiwen.com/subject/ixhvzhtx.html