Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scala build fails #261

Open
pnadon opened this issue Aug 26, 2021 · 2 comments
Open

Scala build fails #261

pnadon opened this issue Aug 26, 2021 · 2 comments

Comments

@pnadon
Copy link

pnadon commented Aug 26, 2021

Hello,
Although I receive no errors when compiling for other languages including Java, when I try compiling for Scala I get the following error:

Error: No bin/java and no environment variable JAVA_HOME
--scala_out: protoc-gen-scala: Plugin failed with status code 1.

The script running the image is similar to the one posted here, but tweaked to only use the protoc-all image, like so:

docker run -v `pwd`:/defs namely/protoc-all -d . -l $lang

So in this case, lang=scala.

@a3lk4i
Copy link

a3lk4i commented Dec 20, 2021

@pnadon Did you find a solution to this ?

@pnadon
Copy link
Author

pnadon commented Dec 20, 2021

Unfortunately no, we ended up switching to omniproto instead, so far it's met our requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants