Fix: JAXB NoClassDefFoundError on Java 9+ (#218)
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
This commit is contained in:
@@ -36,6 +36,7 @@ dependencies {
|
|||||||
compile 'net.lingala.zip4j:zip4j:1.3.3'
|
compile 'net.lingala.zip4j:zip4j:1.3.3'
|
||||||
compile 'net.java.dev.jna:jna-platform:5.0.0'
|
compile 'net.java.dev.jna:jna-platform:5.0.0'
|
||||||
compile 'org.simpleframework:simple-xml:2.7.1'
|
compile 'org.simpleframework:simple-xml:2.7.1'
|
||||||
|
compile 'javax.xml.bind:jaxb-api:2.3.1'
|
||||||
implementation 'com.formdev:flatlaf:0.30'
|
implementation 'com.formdev:flatlaf:0.30'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -340,7 +340,7 @@ public class Server extends Thread implements HostnameVerifier, X509TrustManager
|
|||||||
|
|
||||||
script += jobData.getRenderTask().getScript();
|
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(
|
Job a_job = new Job(
|
||||||
this.user_config,
|
this.user_config,
|
||||||
|
|||||||
Reference in New Issue
Block a user