ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Zinoviev <zaleslaw....@gmail.com>
Subject Re: JDK11. ML module. Compilation error.
Date Thu, 28 Nov 2019 12:43:22 GMT
Will try to help, please create a ticket

чт, 28 нояб. 2019 г., 15:25 Николай Ижиков <nizhikov@apache.org>:

> Hello, guys.
>
> We have a compile error under Java11 in ML module.
> Can someone take a look?
>
> ```
> sbt-izhikov-nv:~/src/ignite:[master]$ mvn -version
> Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117;
> 2019-08-27T18:06:16+03:00)
> Maven home: /Users/sbt-izhikov-nv/bin/apache-maven-3.6.2
> Java version: 11.0.5, vendor: AdoptOpenJDK, runtime:
> /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
> Default locale: ru_RU, platform encoding: UTF-8
> OS name: "mac os x", version: "10.15.1", arch: "x86_64", family: "mac"
> sbt-izhikov-nv:~/src/ignite:[master]$ java -version
> openjdk version "11.0.5" 2019-10-15
> OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.5+10)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.5+10, mixed mode)
> sbt-izhikov-nv:~/src/ignite:[master]$ mvn -U
> -Pall-java,all-scala,scala,licenses,lgpl,examples,tensorflow,checkstyle
> -DskipTests -Dmaven.javadoc.skip=true clean install
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile
> (default-testCompile) on project ignite-ml: Compilation failure:
> Compilation failure:
> [ERROR]
> /Users/sbt-izhikov-nv/src/ignite/modules/ml/src/test/java/org/apache/ignite/ml/dataset/primitive/DatasetWrapperTest.java:[64,45]
> incompatible types: java.lang.Object cannot be converted to
> java.lang.Integer
> [ERROR]
> /Users/sbt-izhikov-nv/src/ignite/modules/ml/src/test/java/org/apache/ignite/ml/dataset/primitive/DatasetWrapperTest.java:[78,45]
> incompatible types: java.lang.Object cannot be converted to
> java.lang.Integer
> [ERROR]
> /Users/sbt-izhikov-nv/src/ignite/modules/ml/src/test/java/org/apache/ignite/ml/dataset/primitive/DatasetWrapperTest.java:[105,38]
> incompatible types: java.lang.Object cannot be converted to
> java.lang.Integer
> [ERROR]
> /Users/sbt-izhikov-nv/src/ignite/modules/ml/src/test/java/org/apache/ignite/ml/dataset/primitive/DatasetWrapperTest.java:[119,38]
> incompatible types: java.lang.Object cannot be converted to
> java.lang.Integer
>
> ```

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message