Closed xiaonans closed 5 years ago
Hi, This is a problem caused by scala's jdk compatibility. we can see from: here
JDK 11
requires minimum 2.11.12
, but we set scala version to 2.11.6
in pom.xml because our development are all based on JDK 8
.
To solve this, whether you could set your JDK to 8, or you could modify scala.version
to 2.11.12
in the pom I mentioned above.
I would suggest the first option, because that would be the same as our dev&test environment. For second option, I succeeded building the jar, but I didn't run full tests on it.
Thanks. I set my JDK to 8 and that solved my problem.
I run the following scripts:
git clone https://github.com/rapidsai/spark-examples.git
cd spark-examples
mvn package -DxgbClassifier=cuda10
An error occurred:
My java version:
My maven version