java protobuf 2.6源碼缺乏 com.google.protobuf.DescriptorProtos

java protobuf2.6 源碼缺乏com.google.protobuf.DescriptorProtos;java

其實這個類是須要用工具生成的,工具

在redeme.txt文件裏面有說明,google

cd java 把protoc 拷貝到此目錄 執行 protoc --java_out=src/main/java -I../src ../src/google/protobuf/descriptor.proto 就會生成DescriptorProtos了ip

相關文章
相關標籤/搜索