Ah I don’t think we have ever tried building with JDK 12 or 13. Thanks for 
reporting this - do you want to file a jira?

https://issues.apache.org/jira/projects/RATIS/

> On Nov 9, 2020, at 1:44 PM, Lasaro Camargos <[email protected]> wrote:
> 
> Hi Arpit.
> Tried with 12 and 13.
> 
> Lásaro
> 
> 
> On Mon, Nov 9, 2020 at 2:26 PM Arpit Agarwal <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi Lasargo, which version of java are you using?
> 
> On Wed, Nov 4, 2020 at 7:14 AM Lasaro Camargos <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi there.
> I am trying to build the ratis code using the instructions from the pages, 
> that is, clone the repo and `mvn clean package`. I am seeing, however, an 
> error regarding the Generated annotation in the gRPC generated code, seen 
> below.
> Any advice on how to work around this without messing with the third party 
> dependencies?
> 
> 
> ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile 
> (default-compile) on project ratis-proto: Compilation failure: Compilation 
> failure:
> [ERROR] 
> /Users/lcamargos/ufu/incubator-ratis/ratis-proto/target/generated-sources/org/apache/ratis/proto/grpc/RaftServerProtocolServiceGrpc.java:[20,17]
>  error: package javax.annotation does not exist
> [ERROR] 
> /Users/lcamargos/ufu/incubator-ratis/ratis-proto/target/generated-sources/org/apache/ratis/proto/FileTransferExampleServiceGrpc.java:[20,17]
>  error: package javax.annotation does not exist
> [ERROR] 
> /Users/lcamargos/ufu/incubator-ratis/ratis-proto/target/generated-sources/org/apache/ratis/proto/hadoop/RaftServerProtocolServiceGrpc.java:[20,17]
>  error: package javax.annotation does not exist
> [ERROR] 
> /Users/lcamargos/ufu/incubator-ratis/ratis-proto/target/generated-sources/org/apache/ratis/proto/grpc/AdminProtocolServiceGrpc.java:[20,17]
>  error: package javax.annotation does not exist
> [ERROR] 
> /Users/lcamargos/ufu/incubator-ratis/ratis-proto/target/generated-sources/org/apache/ratis/proto/grpc/RaftClientProtocolServiceGrpc.java:[20,17]
>  error: package javax.annotation does not exist
> [ERROR] 
> /Users/lcamargos/ufu/incubator-ratis/ratis-proto/target/generated-sources/org/apache/ratis/proto/hadoop/CombinedClientProtocolServiceGrpc.java:[20,17]
>  error: package javax.annotation does not exist
> 
> Regards.
> Lásaro
> 

Reply via email to