--grpc_out: protoc-gen-grpc: Plugin failed with status code 1 on osx. (Java)2019 Community Moderator ElectionProtobuf (gRPC) Code Generator for Go Creating Invalid CodeGenerate gRPC service codeUsing GRPC with Eclipse and protobuf-dtJAVA GRPC libprotoc generated files and Grpc Ssl Context based subscription issueHow can I config .proto path in Java GRPC?Not getting method name or class name in native java from protoprotoc-jar-maven-plugin: Not generating grpc service stubsGRPC not producing service codeprotoc compiler not working with grpc pluginWhy do I get: “--grpc_out: protoc-gen-grpc: The system cannot find the path specified.” message?

Is this Paypal Github SDK reference really a dangerous site?

Why restrict private health insurance?

Why isn't P and P/poly trivially the same?

ESPP--any reason not to go all in?

Cycles on the torus

How do you use environments that have the same name within a single latex document?

Ultrafilters as a double dual

Why do we call complex numbers “numbers” but we don’t consider 2-vectors numbers?

Was it really inappropriate to write a pull request for the company I interviewed with?

Are small insurances worth it?

Professor forcing me to attend a conference, I can't afford even with 50% funding

Is it appropriate to ask a former professor to order a library book for me through ILL?

Does the US political system, in principle, allow for a no-party system?

Why is there an extra space when I type "ls" on the Desktop?

Why do phishing e-mails use faked e-mail addresses instead of the real one?

Where is the License file location for Identity Server in Sitecore 9.1?

What does *dead* mean in *What do you mean, dead?*?

What should I do when a paper is published similar to my PhD thesis without citation?

After Brexit, will the EU recognize British passports that are valid for more than ten years?

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

Precision notation for voltmeters

What do you call someone who likes to pick fights?

A vote on the Brexit backstop

Tabular environment - text vertically positions itself by bottom of tikz picture in adjacent cell



--grpc_out: protoc-gen-grpc: Plugin failed with status code 1 on osx. (Java)



2019 Community Moderator ElectionProtobuf (gRPC) Code Generator for Go Creating Invalid CodeGenerate gRPC service codeUsing GRPC with Eclipse and protobuf-dtJAVA GRPC libprotoc generated files and Grpc Ssl Context based subscription issueHow can I config .proto path in Java GRPC?Not getting method name or class name in native java from protoprotoc-jar-maven-plugin: Not generating grpc service stubsGRPC not producing service codeprotoc compiler not working with grpc pluginWhy do I get: “--grpc_out: protoc-gen-grpc: The system cannot find the path specified.” message?










0















I am following a tutorial about using grpc and I am supposed to use a plugin to generate source code but I am stuck on how to use the --grpc_out and --plugin flag.



Below are the current challenges.



  1. The protocol generator downloaded from https://search.maven.org/ as in the tutorial is an executable file for osx operating system https://search.maven.org/search?q=a:protoc-gen-grpc-java. This is the first confusion.
    enter image description here


  2. If I dont use these plugin flags (--plugin,--grpc_out) my code is generated okay with this command




    protoc -I /proto --java_out /hello/grpc/grpc/revamp/services
    /proto/messages.proto




    This above works okay




  3. Adding the flags, with the downloaded plugin from confusion 1 throws this error with this command;



    protoc -I /proto --java_out /hello/grpc/grpc/revamp/services /proto/messages.proto --grpc_out /hello/grpc/grpc/revamp/services --plugin=protoc-gen-grpc=/proto/lib/protoc-gen-grpc-java-1.19.0-osx-x86_64.exe



    --grpc_out: protoc-gen-grpc: Plugin failed with status code 1.



Has anyone used this plugin on osx?, can anyone help see what I am doing wrong.



Thanks in advance










share|improve this question


























    0















    I am following a tutorial about using grpc and I am supposed to use a plugin to generate source code but I am stuck on how to use the --grpc_out and --plugin flag.



    Below are the current challenges.



    1. The protocol generator downloaded from https://search.maven.org/ as in the tutorial is an executable file for osx operating system https://search.maven.org/search?q=a:protoc-gen-grpc-java. This is the first confusion.
      enter image description here


    2. If I dont use these plugin flags (--plugin,--grpc_out) my code is generated okay with this command




      protoc -I /proto --java_out /hello/grpc/grpc/revamp/services
      /proto/messages.proto




      This above works okay




    3. Adding the flags, with the downloaded plugin from confusion 1 throws this error with this command;



      protoc -I /proto --java_out /hello/grpc/grpc/revamp/services /proto/messages.proto --grpc_out /hello/grpc/grpc/revamp/services --plugin=protoc-gen-grpc=/proto/lib/protoc-gen-grpc-java-1.19.0-osx-x86_64.exe



      --grpc_out: protoc-gen-grpc: Plugin failed with status code 1.



    Has anyone used this plugin on osx?, can anyone help see what I am doing wrong.



    Thanks in advance










    share|improve this question
























      0












      0








      0








      I am following a tutorial about using grpc and I am supposed to use a plugin to generate source code but I am stuck on how to use the --grpc_out and --plugin flag.



      Below are the current challenges.



      1. The protocol generator downloaded from https://search.maven.org/ as in the tutorial is an executable file for osx operating system https://search.maven.org/search?q=a:protoc-gen-grpc-java. This is the first confusion.
        enter image description here


      2. If I dont use these plugin flags (--plugin,--grpc_out) my code is generated okay with this command




        protoc -I /proto --java_out /hello/grpc/grpc/revamp/services
        /proto/messages.proto




        This above works okay




      3. Adding the flags, with the downloaded plugin from confusion 1 throws this error with this command;



        protoc -I /proto --java_out /hello/grpc/grpc/revamp/services /proto/messages.proto --grpc_out /hello/grpc/grpc/revamp/services --plugin=protoc-gen-grpc=/proto/lib/protoc-gen-grpc-java-1.19.0-osx-x86_64.exe



        --grpc_out: protoc-gen-grpc: Plugin failed with status code 1.



      Has anyone used this plugin on osx?, can anyone help see what I am doing wrong.



      Thanks in advance










      share|improve this question














      I am following a tutorial about using grpc and I am supposed to use a plugin to generate source code but I am stuck on how to use the --grpc_out and --plugin flag.



      Below are the current challenges.



      1. The protocol generator downloaded from https://search.maven.org/ as in the tutorial is an executable file for osx operating system https://search.maven.org/search?q=a:protoc-gen-grpc-java. This is the first confusion.
        enter image description here


      2. If I dont use these plugin flags (--plugin,--grpc_out) my code is generated okay with this command




        protoc -I /proto --java_out /hello/grpc/grpc/revamp/services
        /proto/messages.proto




        This above works okay




      3. Adding the flags, with the downloaded plugin from confusion 1 throws this error with this command;



        protoc -I /proto --java_out /hello/grpc/grpc/revamp/services /proto/messages.proto --grpc_out /hello/grpc/grpc/revamp/services --plugin=protoc-gen-grpc=/proto/lib/protoc-gen-grpc-java-1.19.0-osx-x86_64.exe



        --grpc_out: protoc-gen-grpc: Plugin failed with status code 1.



      Has anyone used this plugin on osx?, can anyone help see what I am doing wrong.



      Thanks in advance







      protocol-buffers grpc grpc-java protobuf-java






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 days ago









      IsaacKIsaacK

      263617




      263617






















          1 Answer
          1






          active

          oldest

          votes


















          0














          To resolve this, first I removed the .exe extension from the file downloaded from maven,



          then allow the file to be executable by running the following command




          chmod +x protoc-gen-grpc-java




          After this the query worked okay. (Special thanks from the @author of the Course
          Michael Van Sickle)






          share|improve this answer






















            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55023435%2fgrpc-out-protoc-gen-grpc-plugin-failed-with-status-code-1-on-osx-java%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            To resolve this, first I removed the .exe extension from the file downloaded from maven,



            then allow the file to be executable by running the following command




            chmod +x protoc-gen-grpc-java




            After this the query worked okay. (Special thanks from the @author of the Course
            Michael Van Sickle)






            share|improve this answer



























              0














              To resolve this, first I removed the .exe extension from the file downloaded from maven,



              then allow the file to be executable by running the following command




              chmod +x protoc-gen-grpc-java




              After this the query worked okay. (Special thanks from the @author of the Course
              Michael Van Sickle)






              share|improve this answer

























                0












                0








                0







                To resolve this, first I removed the .exe extension from the file downloaded from maven,



                then allow the file to be executable by running the following command




                chmod +x protoc-gen-grpc-java




                After this the query worked okay. (Special thanks from the @author of the Course
                Michael Van Sickle)






                share|improve this answer













                To resolve this, first I removed the .exe extension from the file downloaded from maven,



                then allow the file to be executable by running the following command




                chmod +x protoc-gen-grpc-java




                After this the query worked okay. (Special thanks from the @author of the Course
                Michael Van Sickle)







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 2 days ago









                IsaacKIsaacK

                263617




                263617





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55023435%2fgrpc-out-protoc-gen-grpc-plugin-failed-with-status-code-1-on-osx-java%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

                    Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

                    Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved