Websocket Client Could not find an implementation class

前端 未结 3 1774
温柔的废话
温柔的废话 2021-02-13 09:28

I will preface this with I am not using any maven dependencies, yet I know that I am missing a jar file wls-api.jar (at least that is what I have read).

To

3条回答
  •  天命终不由人
    2021-02-13 10:22

    javax.websocket api is only the specification don't have full implementation you may need to take the jar file tyrus-standalone-client-1.9.jar and try the same example that should solve your problem. i tested with my example and it is working fine.

    hope this will help you.

提交回复
热议问题