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

Java 9 Support #38

Open
jvtrigueros opened this issue Jan 28, 2018 · 0 comments
Open

Java 9 Support #38

jvtrigueros opened this issue Jan 28, 2018 · 0 comments

Comments

@jvtrigueros
Copy link

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant