Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Commit

Permalink
Fix: JAXB NoClassDefFoundError on Java 9+ (#218)
Browse files Browse the repository at this point in the history
JAXB APIs are considered to be a part of Java EE and was removed by default in Java SE 9.
See: https://stackoverflow.com/a/47412779/6238618
  • Loading branch information
andylizi authored Apr 28, 2020
1 parent 4a0a326 commit d5ee95f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ dependencies {
compile 'net.lingala.zip4j:zip4j:1.3.3'
compile 'net.java.dev.jna:jna-platform:5.0.0'
compile 'org.simpleframework:simple-xml:2.7.1'
compile 'javax.xml.bind:jaxb-api:2.3.1'
implementation 'com.formdev:flatlaf:0.30'
}

Expand Down
2 changes: 1 addition & 1 deletion src/com/sheepit/client/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ else if (freeMemory > 0 && maxMemory > 0) {

script += jobData.getRenderTask().getScript();

String validationUrl = URLDecoder.decode(jobData.getRenderTask().getValidationUrl());
String validationUrl = URLDecoder.decode(jobData.getRenderTask().getValidationUrl(), "UTF-8");

Job a_job = new Job(
this.user_config,
Expand Down

0 comments on commit d5ee95f

Please sign in to comment.