kenyee / java-ddp-client

A DDP client written in java for the Meteor framework (https://github.com/meteor/meteor)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Class not found: WebSocketClient

Tim-W opened this issue · comments

Whenever I try to establish a DDPClient, I get the following error.

Exception in thread "ServerEngine" java.lang.NoClassDefFoundError: org/java_websocket/client/WebSocketClient

I establish the DDPClient as follows:

DDPClient ddp = new DDPClient("localhost", 3000);

My meteor server is running on localhost:3000. Any help appreciated!

commented

Are you having all the dependencies that is required for this project?

It seems like you are missing the websocket client jar file

The java-ddp-client did not include the dependencies, I added them and that fixed it.

This can be closed.