felipegutierrez / explore-akka

This project is a demo of an Akka-http and Akka-cluster running on top of Kubernetes (minikube) and with its own Docker image created by sbt-native-packager. It also includes several other examples of the Akka Classic and Typed (essential, persistence, remote, cluster, stream, HTTP, serialization (Srapy-JSON, Avro, Kryo, protobuffer)).
Apache License 2.0
2 stars 2 forks source link

Travis-CI failing due to protobuf compiler #16

Closed felipegutierrez closed 3 years ago

felipegutierrez commented 3 years ago

error at travis-ci:

[info] Compiling 2 protobuf files to /home/travis/build/felipegutierrez/explore-akka/src/main/generated
[info] Protobufs files found, but PB.targets is empty.
[info] Compiling schema /home/travis/build/felipegutierrez/explore-akka/src/main/protobuf/datamodel.proto
[info] Compiling schema /home/travis/build/felipegutierrez/explore-akka/src/main/protobuf/helloworld.proto
[error] java.lang.RuntimeException: error occurred while compiling protobuf files: Cannot run program "protoc": error=2, No such file or directory
[error]     at sbtprotobuf.ScopedProtobufPlugin.executeProtoc(ProtobufPlugin.scala:99)
felipegutierrez commented 3 years ago

Fixed. using protobuf 3.7.1 on the libraries at build.sbt and installed on the computer and travis-ci. Greater version does not work due to the UnusedPrivateParameter class