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

Open GDS gradle build fails since 2.14.0 #345

Open
JohT opened this issue Feb 8, 2025 · 2 comments
Open

Open GDS gradle build fails since 2.14.0 #345

JohT opened this issue Feb 8, 2025 · 2 comments
Labels
BUG Something isn't working

Comments

@JohT
Copy link

JohT commented Feb 8, 2025

Describe the bug

❌ When I try to build the open GDS version with
./gradlew -Dorg.gradle.logging.level=info "-Dorg.gradle.jvmargs=-Xmx2g" -Pneo4jVersion=5.26.2 --stacktrace -- :open-packaging:shadowCopy, I get the following build error (log file) pointing to gradle/dependencies.gradle:

Script '/home/runner/work/open-graph-data-science-packaging/open-graph-data-science-packaging/gradle/dependencies.gradle' line: 1
...
Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'reposityRootDirectory' for root project 'open-gds' of type org.gradle.api.Project.

✅ There were no issues in the previous version 2.13.2.
🤔 Could this be a typo ($repositoryRootDirectory instead of $reposityRootDirectory)?
🤔 Additionally, neo4j-version.gradle seems to be missing. Is this a typo as well?

To Reproduce

@JohT JohT added the BUG Something isn't working label Feb 8, 2025
@vnickolov
Copy link
Contributor

Hello @JohT, thank you for reporting this, we have been restructuring our builds and it seems this has been an oversight at our end, we will look into it and we'll let you know once we have the builds fixed.

@JohT
Copy link
Author

JohT commented Mar 29, 2025

@vnickolov, the described issue seems to have been resolved with v2.16.0.

However, now I get the error message below. It seems that neo4j already uses Java 21 features even though it should be compatible with Java 17 according to the documentation. It doesn't seem to be a problem of graph-data-science and I'm fine with migrating to Java 21 so I'd be fine with closing this issue.

Compiling with toolchain '/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.7-7/x64'.
Compiling with JDK Java compiler API.
[Incubating] Problems report is available at: file:///home/runner/work/open-graph-data-science-packaging/open-graph-data-science-packaging/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':licensing:compileJava'.
> org/neo4j/annotations/service/ServiceAnnotationProcessor has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants