You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "734839030 (via GitHub)" <gi...@apache.org> on 2023/06/05 07:20:20 UTC
[GitHub] [dubbo] 734839030 commented on issue #12381: dubbo tri Dubbo3TripleGenerator 3.2.1 多service 生成报错
734839030 commented on issue #12381:
URL: https://github.com/apache/dubbo/issues/12381#issuecomment-1576195502
> 使用
>
> 
>
> 和proto文件
>
> syntax = "proto3";
>
> option java_multiple_files = true; option java_package = "com.example.dubbomutiservice.proto"; option java_outer_classname = "UserServiceProto"; option objc_class_prefix = "DEMOSRV";
>
> package userservice;
>
> // The demo service definition. service UserService { rpc SayHello (HelloRequest) returns (HelloReply) {} }
>
> service UserServiceGtw { rpc SayHello (HelloRequest) returns (HelloReply) {} }
>
> // The request message containing the user's name. message HelloRequest { string name = 1; }
>
> // The response message containing the greetings message HelloReply { string message = 1; } 没有复现编译error,请贴一下使用的plugin和Proto文件
不要这行就会报哈
option java_outer_classname = "UserServiceProto";
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org