我遇到了一个问题,其中对 ProtocolStringList
的引用导致 protoc 生成的代码中出现了类未找到错误。
在这种情况下,我收到了 Eclipse 错误:
com.google.protobuf.ProtocolStringList cannot be resolved to a type
I expect it could also show as a:
java.lang.NoClassDefFoundError: com/google/protobuf/ProtocolStringList