Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUILD FAIL #3123

Open
sonlahe140994 opened this issue Jul 14, 2022 · 1 comment
Open

BUILD FAIL #3123

sonlahe140994 opened this issue Jul 14, 2022 · 1 comment

Comments

@sonlahe140994
Copy link

I have installed Azkaban and I get an issue that can not run successfully first command "./gradlew build". Here is error logs.

son.le1@DU-AI-SONLA1:~/Desktop/Azkaban/azkaban$ ./gradlew build
Configuration on demand is an incubating feature.

Task :azkaban-web-server:restliTemplateGenerator
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

Task :az-flow-trigger-dependency-plugin:compileJava FAILED
/home/son.le1/Desktop/Azkaban/azkaban/az-flow-trigger-dependency-plugin/src/main/java/azkaban/flowtrigger/DependencyPluginConfig.java:22: error: cannot access Object
public interface DependencyPluginConfig {
^
bad class file: /modules/java.base/java/lang/Object.class
class file has wrong version 55.0, should be 53.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error

Task :cached-http-filesystem:compileJava FAILED
/home/son.le1/Desktop/Azkaban/azkaban/cached-http-filesystem/src/main/java/azkaban/cachedhttpfilesystem/CachedHttpFileSystem.java:21: error: cannot access FileNotFoundException
import java.io.FileNotFoundException;
^
bad class file: /modules/java.base/java/io/FileNotFoundException.class
class file has wrong version 55.0, should be 53.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error

Task :az-crypto:compileJava FAILED
/home/son.le1/Desktop/Azkaban/azkaban/az-crypto/src/main/java/azkaban/crypto/Decryptions.java:15: error: cannot access BufferedReader
import java.io.BufferedReader;
^
bad class file: /modules/java.base/java/io/BufferedReader.class
class file has wrong version 55.0, should be 53.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error

Task :az-core:compileJava FAILED
/home/son.le1/Desktop/Azkaban/azkaban/az-core/src/main/java/azkaban/Constants.java:19: error: cannot access Duration
import java.time.Duration;
^
bad class file: /modules/java.base/java/time/Duration.class
class file has wrong version 55.0, should be 53.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error

FAILURE: Build completed with 4 failures.

1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':az-flow-trigger-dependency-plugin:compileJava'.

Compilation failed with exit code 1; see the compiler error output for details.

  • 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.

  • What went wrong:
    Execution failed for task ':cached-http-filesystem:compileJava'.

Compilation failed with exit code 1; see the compiler error output for details.

  • 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.
    ==============================================================================

3: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':az-crypto:compileJava'.

Compilation failed with exit code 1; see the compiler error output for details.

  • 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.
    ==============================================================================

4: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':az-core:compileJava'.

Compilation failed with exit code 1; see the compiler error output for details.

  • 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 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.0/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s
26 actionable tasks: 7 executed, 19 up-to-date

Anyone can help me how to fix this issue?

@finviman
Copy link

Same problem , I use JDK11(55), I think the Object.class is version 11, but gradle wants to build azkaban with jdk9(53), so it can not recognize version 55, but where is jdk9?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants