binance-exchange / binance-java-api

binance-java-api is a lightweight Java library for the Binance API, supporting synchronous and asynchronous requests, as well as event streaming using WebSockets.
MIT License
831 stars 628 forks source link

ClassNotFoundException - MessageLite #382

Open kincsescsaba opened 3 years ago

kincsescsaba commented 3 years ago

Hi, After fetching the sources, building the library with mvn install, and copying the jar under /lib in my project, I get the following error: java.lang.ClassNotFoundException: com.google.protobuf.MessageLite

It looks like there is a problem with ProtoBuf, and I can't find a straightforward way to add that dependency; it's confusing which way to do that, what version to use, etc.

Can you please check that?