Build error

41 views
Skip to first unread message

Andi Cocei

unread,
Apr 22, 2024, 11:41:33 AM4/22/24
to nomulus-discuss
Hello,

When trying to run ./nom_build build, with openjdk 11.0.22 2024-01-16 LTS, the following error appears:

[root@s4416 nomulus]# ./gradlew build
Plugins: Using default repo...

> Configure project :
Java dependencies: Using Maven Central...
Java dependencies: Using Maven Central...
Java dependencies: Using Maven Central...
Java dependencies: Using Maven Central...
Java dependencies: Using Maven Central...
Java dependencies: Using Maven Central...
Java dependencies: Using Maven Central...
Java dependencies: Using Maven Central...
Java dependencies: Using Maven Central...
Java dependencies: Using Maven Central...
Java dependencies: Using Maven Central...
Java dependencies: Using Maven Central...
Java dependencies: Using Maven Central...
Java dependencies: Using Maven Central...
Java dependencies: Using Maven Central...
Java dependencies: Using Maven Central...
Java dependencies: Using Maven Central...

FAILURE: Build failed with an exception.

* What went wrong:
java.lang.UnsupportedClassVersionError: org/flywaydb/gradle/FlywayPlugin has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
> org/flywaydb/gradle/FlywayPlugin has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

* 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 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1s

Can anyone assist?

Thank you in advance.
Reply all
Reply to author
Forward
0 new messages