Skip to content
This repository was archived by the owner on Oct 29, 2021. It is now read-only.
This repository was archived by the owner on Oct 29, 2021. It is now read-only.

gradlew fails #2

@whit2333

Description

@whit2333
 ./gradlew                                                               
                                                                                                                                                 
> Task :legacy:compileJava FAILED                                                                                                                
/mnt/old_home/whit/projects/clara/clara-demo/legacy/src/main/java/org/jlab/clara/demo/core/FaceDetector.java:3: error: cannot access Core        
import org.opencv.core.Core;                                                                                                                      
                      ^                                                                                                                          
  bad class file: /usr/share/OpenCV/java/opencv-320.jar(org/opencv/core/Core.class)                                                               
    class file has wrong version 54.0, should be 52.0                                           
    Please remove or make sure it appears in the correct subdirectory of the classpath.                                                          
                                                                                                                                                 
FAILURE: Build failed with an exception.                                                                                                         
                                                                                                                                                 
* What went wrong:
Execution failed for task ':legacy:compileJava'.
> Compilation failed; 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 insight
s.

* 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.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s
1 actionable task: 1 executed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions