Cannot compile protobuf using gradle plugin

davidsun
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 3, 2018

My project is using gradle with proto3 dependencies. When BitBucket pipeline generates the proto Java file, it shows error:

Execution failed for task ':generateProto'.> java.io.IOException: Cannot run program "protoc": error=2, No such file or directory

indicating that the protoc command cannot be found. I'm wondering how I can fix it.

2 answers

0 votes
Victor Efedi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 16, 2021

Up till now, and no solution? 

I know the issue might be with the image used so one might need another custom image but can't seem to find one

please any help

0 votes
giacomotontini
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 13, 2019

Did you find a solution?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events