★ wanayoo — archive 1999 https://github.com/synapticloop/backblaze-b2-java-api/issues/38Nouvelle recherche | Portail wanayoo
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

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

@jvtrigueros jvtrigueros commented Jan 28, 2018

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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.