You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/22 17:57:00 UTC

[jira] [Updated] (ARROW-4298) [Java] Building Flight fails with OpenJDK 11

     [ https://issues.apache.org/jira/browse/ARROW-4298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-4298:
----------------------------------
    Labels: pull-request-available  (was: )

> [Java] Building Flight fails with OpenJDK 11
> --------------------------------------------
>
>                 Key: ARROW-4298
>                 URL: https://issues.apache.org/jira/browse/ARROW-4298
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: FlightRPC, Java
>    Affects Versions: 0.12.0
>            Reporter: Uwe L. Korn
>            Priority: Major
>              Labels: pull-request-available
>
> Building flight fails with
> {code:java}
> [INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ arrow-flight ---
> [INFO] Compiling 39 source files to /Users/uwe/Development/arrow-repos-1/arrow/java/flight/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /Users/uwe/Development/arrow-repos-1/arrow/java/flight/target/generated-sources/protobuf/org/apache/arrow/flight/impl/FlightServiceGrpc.java:[26,17] error: cannot find symbol
> symbol: class Generated
> location: package javax.annotation
> [INFO] 1 error{code}
> To fix this, I added the following dependency to {{flight/pom.xml}}:
> {code:java}
>  <dependency>
>    <groupId>javax.annotation</groupId>
>    <artifactId>javax.annotation-api</artifactId>
>    <version>1.3.2</version>
>  </dependency>{code}
> This then passed the compile step but failed later with:
> {code:java}
> [INFO] --- maven-dependency-plugin:3.0.1:analyze-only (analyze) @ arrow-flight ---
> [WARNING] Unused declared dependencies found:
> [WARNING] javax.annotation:javax.annotation-api:jar:1.3.2:compile
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.0.1:analyze-only (analyze) on project arrow-flight: Dependency problems found -> [Help 1]{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)