So you are using the correct protoc version. Then the problem should be in
the protobuf Java runtime. The missing memorizedHashCode is defined in
AbstractMessageLite:
https://github.com/google/protobuf/blob/v2.6.1/java/src/main/java/com/google/protobuf/AbstractMessageLite.java#L47
which is availabl
Hi,
protoc --version
libprotoc 2.6.1
I compile using :
protoc --java_out=./TestProto ./workspace/Coprocessor/src/sum.proto
Le vendredi 17 avril 2015 19:49:18 UTC+2, Feng Xiao a écrit :
>
>
>
> On Fri, Apr 17, 2015 at 1:40 AM, Tristan Soriano > wrote:
>
>> I am using protobuf 2.6.1 with java 8
On Fri, Apr 17, 2015 at 1:40 AM, Tristan Soriano
wrote:
> I am using protobuf 2.6.1 with java 8 (Oracle downloaded jdk 1.8.0) on
> linux ubuntu. I cannot locate any JAVA_HOME call in protobuf folder using
> 'grep'. How does protoc locate JAVA ? How can I check which version is used
> by who ?
>
C
I am using protobuf 2.6.1 with java 8 (Oracle downloaded jdk 1.8.0) on
linux ubuntu. I cannot locate any JAVA_HOME call in protobuf folder using
'grep'. How does protoc locate JAVA ? How can I check which version is used
by who ?
Le jeudi 16 avril 2015 22:49:41 UTC+2, Feng Xiao a écrit :
>
> T
The error seems to suggest you are using a different version for protoc and
protobuf Java runtime. Could you check whether they are of the same version?
On Thu, Apr 16, 2015 at 3:29 AM, Tristan Soriano
wrote:
>
> Hi,
> I am new to protobufers and I have some issues with the generated java
> code
Hi,
I am new to protobufers and I have some issues with the generated java code.
I am successfully generating a java class from the following .proto file :
option java_package = "org.myname.h