Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Java 9 Support #38

@jvtrigueros

Description

@jvtrigueros

When using Java 9 I get the following exception:

Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/adapters/HexBinaryAdapter
	at synapticloop.b2.util.ChecksumHelper.calculateSha1(ChecksumHelper.java:75)
	at synapticloop.b2.util.ChecksumHelper.calculateSha1(ChecksumHelper.java:44)
	at synapticloop.b2.B2ApiClient.uploadFile(B2ApiClient.java:451)
	at synapticloop.b2.B2ApiClient.uploadFile(B2ApiClient.java:434)

I'm currently getting past this by adding --add-modules java.xml.bind as a VM option.

Awesome library btw!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions