Reputation: 31
When deploying a fresh install of DH 7.5.2 into a clean ML 10.0-9 Server, I get the following error:
FAILURE: Build failed with an exception.
class com.marklogic.hub.deploy.commands.LoadUserModulesCommand tried to access private method 'void java.net.URLDecoder.()' (com.marklogic.hub.deploy.commands.LoadUserModulesCommand is in unnamed module of loader org.gradle.internal.classloader.VisitableURLClassLoader @161727d0; java.net.URLDecoder is in module java.base of loader 'bootstrap')
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
BUILD FAILED in 2m 1s
Additional Info:
Build time: 2022-08-05 21:17:56 UTC Revision: d1daa0cbf1a0103000b71484e1dbfe096e095918
Kotlin: 1.6.21 Groovy: 3.0.10 Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021 JVM: 18.0.1 (Oracle Corporation 18.0.1+10-24) OS: Mac OS X 12.5.1 x86_64
Any help installing and deploying would be appreciated.
Frank
Upvotes: 1
Views: 169
Reputation: 2236
Need to use Java 11 - the underlying MarkLogic Java Client works on Java 8 and Java 11, but not yet Java 17 or 18. Support for that is coming soon.
Upvotes: 2