> Could not resolve all dependencies for configuration ':apps:lucene'. > Multiple build operations failed. java.lang.ExceptionInInitializerError java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$TLSContext java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$TLSContext > java.lang.ExceptionInInitializerError > java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$TLSContext > java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$TLSContext
This to me looks like it may be failing to make an https connection to a repository when attempting to download dependencies. There are reports of NoClassDefFoundError w.r.t. SSLContextImpl when running gradle builds, see: https://github.com/gradle/gradle/issues/7842 <https://github.com/gradle/gradle/issues/7842> Claims to be fixed, but maybe not? If it is related to Gradle changing java.home while compiling, I wonder if using --no-parallel might work around it? Of course try with --debug as well to see if it offers more clues. Regards, Scott > On Mar 31, 2020, at 1:21 PM, Rony G. Flatscher <rony.flatsc...@wu.ac.at> > wrote: > > On 31.03.2020 19:10, Kevin Rushforth wrote: >> That's not the problem. The minimum build number only applies if at the >> exact minimum JDK version >> in question. You are using 11.0.6 which is > 11 so no problem there. >> >> One last thing to try: >> >> $ rm -rf .gradle buildSrc/.gradle buildSrc/build >> >> In case something is cached there that the newer gradle trips over. > > Unfortunately did not resolve the failure: > > rony@rony-linux:~/dev/github/openjdk/jfx$ rm -rf build .gradle > buildSrc/.gradle buildSrc/build > rony@rony-linux:~/dev/github/openjdk/jfx$ gradle --stop > No Gradle daemons are running. > rony@rony-linux:~/dev/github/openjdk/jfx$ gradle clean > Starting a Gradle Daemon, 5 stopped Daemons could not be reused, use > --status for details > >> Configure project : > gradle.gradleVersion: 6.3 > OS_NAME: linux > OS_ARCH: amd64 > JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64 > JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64 > java.runtime.version: 11.0.6+10-post-Ubuntu-1ubuntu118.04.1 > java version: 11.0.6 > java build number: 10 > jdk.runtime.version: 11.0.6+10-post-Ubuntu-1ubuntu118.04.1 > jdk version: 11.0.6 > jdk build number: 10 > minimum jdk version: 11 > minimum jdk build number: 28 > GCC version: gcc8.3.0-OL6.4+1.0 > cmake version: 3.13.3 > ninja version: 1.8.2 > ant version: 1.10.5 > HAS_JAVAFX_MODULES: false > STUB_RUNTIME: /usr/lib/jvm/java-11-openjdk-amd64 > CONF: Debug > NUM_COMPILE_THREADS: 8 > COMPILE_TARGETS: linux > COMPILE_FLAGS_FILES: buildSrc/linux.gradle > HUDSON_JOB_NAME: not_hudson > HUDSON_BUILD_NUMBER: 0000 > PROMOTED_BUILD_NUMBER: 0 > PRODUCT_NAME: OpenJFX > RELEASE_VERSION: 15 > RELEASE_SUFFIX: -internal > RELEASE_VERSION_SHORT: 15-internal > RELEASE_VERSION_LONG: 15-internal+0-2020-03-31-191843 > RELEASE_VERSION_PADDED: 15.0.0.0 > MAVEN_VERSION: 15-internal+0-2020-03-31-191843 > UPDATE_STUB_CACHE: false > Building Webkit configuration /Release/ into > /home/rony/dev/github/openjdk/jfx/modules/javafx.web/build/linux > module: project ':apps' (buildModule=NO) > module: project ':base' (buildModule=YES) > module: project ':controls' (buildModule=YES) > module: project ':fxml' (buildModule=YES) > module: project ':graphics' (buildModule=YES) > module: project ':media' (buildModule=YES) > module: project ':swing' (buildModule=YES) > module: project ':swt' (buildModule=NO) > module: project ':systemTests' (buildModule=NO) > module: project ':web' (buildModule=YES) > > FAILURE: Build completed with 2 failures. > > 1: Task failed with an exception. > ----------- > * Where: > Build file '/home/rony/dev/github/openjdk/jfx/build.gradle' line: 4176 > > * What went wrong: > A problem occurred evaluating root project 'jfx'. >> Could not resolve all dependencies for configuration ':apps:lucene'. > > Multiple build operations failed. > java.lang.ExceptionInInitializerError > java.lang.NoClassDefFoundError: Could not initialize class > sun.security.ssl.SSLContextImpl$TLSContext > java.lang.NoClassDefFoundError: Could not initialize class > sun.security.ssl.SSLContextImpl$TLSContext > > java.lang.ExceptionInInitializerError > > java.lang.NoClassDefFoundError: Could not initialize class > sun.security.ssl.SSLContextImpl$TLSContext > > java.lang.NoClassDefFoundError: Could not initialize class > sun.security.ssl.SSLContextImpl$TLSContext > > * 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. > > ============================================================================== > > 2: Task failed with an exception. > ----------- > * Where: > Build file '/home/rony/dev/github/openjdk/jfx/build.gradle' line: 1589 > > * What went wrong: > A problem occurred configuring root project 'jfx'. >> Failed to notify project evaluation listener. > > Could not get unknown property 'moduleEmptyPublicationJarLinux' for > task set of type > org.gradle.api.internal.tasks.DefaultTaskContainer. > > Could not get unknown property 'moduleEmptyPublicationJarLinux' for > task set of type > org.gradle.api.internal.tasks.DefaultTaskContainer. > > Could not get unknown property 'moduleEmptyPublicationJarLinux' for > task set of type > org.gradle.api.internal.tasks.DefaultTaskContainer. > > Could not get unknown property 'moduleEmptyPublicationJarLinux' for > task set of type > org.gradle.api.internal.tasks.DefaultTaskContainer. > > Could not get unknown property 'moduleEmptyPublicationJarLinux' for > task set of type > org.gradle.api.internal.tasks.DefaultTaskContainer. > > Could not get unknown property 'moduleEmptyPublicationJarLinux' for > task set of type > org.gradle.api.internal.tasks.DefaultTaskContainer. > > Could not get unknown property 'moduleEmptyPublicationJarLinux' for > task set of type > org.gradle.api.internal.tasks.DefaultTaskContainer. > > * 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 > > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings > > BUILD FAILED in 5s > rony@rony-linux:~/dev/github/openjdk/jfx$ > > ---rony >