luceedebug
luceedebug copied to clipboard
gradlew.bat shadowjar
Getting error
Exception in thread "main" javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target ...on executing gradlew.bat shadowjar
The following may be helpful:
Not sure if there's anything we can do to improve this part of the experience from our end, it looks like an issue with the build machine's Gradle configuration. If you find a solution, please let us know what it was, and if it turns out there's something in the Gradle configuration we can change to make it "just work" in more cases, we'll do that.
Thanks. Installed Gradle manually and better luck this time but still got...
Task :luceedebug:makeMockCfSourceFile java.lang.UnsupportedClassVersionError: luceedebug/test/MakeMockCfFile has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763)ing toolchain adoptopenjdk-11-x64-windows.zip > adoptopenjdk-11-x64-windows.zip >ndencies of :luceedebu at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)topenjdk-11-x64-windows.ziof :luceedebug:runtimeClasspath > Provisioning toolchain adop at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) Provisioning toolchain adoptopenjdk-11-x64-windows.zip > adoptopenjdk-11-solve dependencies of :l at java.net.URLClassLoader.access$100(URLClassLoader.java:73)64-windows.zip > adopto at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495) Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" NG [4m 10s] Task :luceedebug:makeMockCfSourceFile FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':luceedebug:makeMockCfSourceFile'.
Process 'command 'C:\Program Files\Java\jdk1.8.0_121\bin\java.exe'' finished with non-zero exit value 1
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
- Get more help at https://help.gradle.org
BUILD FAILED in 4m 27s 2 actionable tasks: 2 executed
Any ideas?
EDIT: I've updated to Java 17.07.7 and still getting the same error - the output still indicates Java 8...???
- What went wrong: Execution failed for task ':luceedebug:makeMockCfSourceFile'.
Process 'command 'C:\Program Files\Java\jdk1.8.0_121\bin\java.exe'' finished with non-zero exit value 1
java -version shows: java version "17.0.7" 2023-04-18 LTS Java(TM) SE Runtime Environment (build 17.0.7+8-LTS-224) Java HotSpot(TM) 64-Bit Server VM (build 17.0.7+8-LTS-224, mixed mode, sharing)
EDIT: Ahh, my Java_Home environmental variable (Windows) hadn't updated from the 1.8 path - I assumed it would with the updates. I have a luceedebug.jar at last!!!