0
我.proto文件:Java源代碼中有很多錯誤的protoc編譯後
package com.xxxxx.cloud.module.proxy.protobuf;
option java_package = "com.xxxxx.cloud.module.proxy.protobuf";
option java_outer_classname = "ProxyHttpProtocol";
message Request{
required string domain = 1;
required string url = 2;
required string body = 3;
required int32 port = 4;
required string method = 5;
}
一些錯誤的Java源代碼:
1、throw e.setUnfinishedMessage(this);//Could not find symbol
2、makeExtensionsImmutable(); //cloud not find symbol
3、ensureFieldAccessorsInitialized //cloud not find symbol
....more
我無法找到任何文件,以解釋原因爲這些錯誤。
謝謝你的回答,你說我準備好了,我檢查了protobuf-java的源代碼,確實沒有找到 – Grunt 2014-11-21 09:11:21