Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

class file has wrong version 55.0, should be 52.0 #42

Open
deniben opened this issue Apr 8, 2021 · 0 comments
Open

class file has wrong version 55.0, should be 52.0 #42

deniben opened this issue Apr 8, 2021 · 0 comments

Comments

@deniben
Copy link

deniben commented Apr 8, 2021

public class Main {
    public static void main(String[] args) throws IOException {
        BinanceApiClientFactory factory = BinanceApiClientFactory.newInstance();
        BinanceApiRestClient client = factory.newRestClient();

        OrderBook orderBook = client.getOrderBook("BTCUSDT", 10000);
        List<OrderBookEntry> asks = orderBook.getAsks();
        OrderBookEntry firstAskEntry = asks.get(0);
        System.out.println(firstAskEntry.getPrice() + " / " + firstAskEntry.getQty());
    }
}

But have

binance-api-client-1.0.2.jar(com/binance/api/client/BinanceApiClientFactory.class)
    class file has wrong version 55.0, should be 52.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant