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

mvn build NDS listener failed in case of JDK17 #153

Open
johnnyzhon opened this issue May 31, 2023 · 3 comments
Open

mvn build NDS listener failed in case of JDK17 #153

johnnyzhon opened this issue May 31, 2023 · 3 comments

Comments

@johnnyzhon
Copy link
Collaborator

environment:
ubuntu20.04, maven 3.6.3-1, java17

steps:
cd spark-rapids-benchmarks/nds/jvm_listener
mvn clean package

error messages:
/ws/sparkRapidsTest/deploy/temp/spark-rapids-benchmarks/nds/DSGen-software-code-3.2.0rc1
[2023-05-31 03:03:22]mvn build NDS listener
[ERROR] Error executing Maven.
[ERROR] java.lang.IllegalStateException: Unable to load cache item
[ERROR] Caused by: Unable to load cache item
[ERROR] Caused by: Could not initialize class com.google.inject.internal.cglib.core.$MethodWrapper

@GaryShen2008
Copy link
Collaborator

Seems we should use maven 3.8.5+ to build on JDK17.
I succeeded to build with maven 3.9.3.

@johnnyzhon
Copy link
Collaborator Author

maven build successful using maven3.9.3. Thanks.

@gerashegalov
Copy link
Collaborator

So we should have a jdk17 profile with the requirement for Maven 3.9.3+ or generally require 3.9.3+ similar to https://github.com/NVIDIA/spark-rapids/blob/87d4798aa8e97df040a47d10f336be04ac77342c/pom.xml#L1152-L1155

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

3 participants