添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I made changes to my .proto file and update the WireMessages.java file using the following command

protoc -I=. --java_out=. ./FILENAME.proto 

I could see the changes as part of my changes in .proto file being updated in WireMessages.java

Also changed the protobuf version from 3.13.0 to 3.21.0

But I am getting the following error

java: cannot find symbol
  symbol: method parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
java: cannot find symbol
  symbol:   method mergeUnknownVarintField(int,int)

I did not make any changes that should effect it.

Thank you.

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.