Hi Lasargo, which version of java are you using? On Wed, Nov 4, 2020 at 7:14 AM Lasaro Camargos <[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 > >
