apache/dubbo

[Bug] dubbo-maven-pluggin cannot successfully compile google.protobuf.Empty into 'void' keyword

Open

#15,629 创建于 2025年8月8日

在 GitHub 查看
 (1 评论) (0 反应) (1 负责人)Java (26,453 fork)batch import
help wantedtype/bug

仓库指标

Star
 (41,524 star)
PR 合并指标
 (平均合并 7天 14小时) (30 天内合并 20 个 PR)

描述

Pre-check

  • I am sure that all the content I provide is in English.

Search before asking

  • I had searched in the issues and found no similar issues.

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

dubbo Version:3.3.5 dubbo-maven-pluggin version:3.3.5

Steps to reproduce this issue

issue discription : i use protobuf development style of triple protocal of dubbo 3.3.5 ,i build a new maven project to manage proto file and compiled java source code, finnally commit it to my local maven repsitory so that i can make full use of the compiled code.but when i define rpc service 'rpc xx (XXModel) returns (google.protobuf.Empty)' ,and then dubbo-maven-pluggin compile,after serval times checked it gengeate 'public xx(XXModel)' left void 'keyWord'

so it possible caused by dubbo-maven-pluggin

What you expected to happen

the void keyword appear successfully!!!

Anything else

No response

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

贡献者指南