harlan
harlan

Reputation: 91

protobuf install failure on windows

I tried to mvn install protobuf-v3.0.0 pre-built binaries on windows, but it prompts an error as below.

D:/Tools/protobuf-java-3.0.0/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/AbstractMessage.java:[327,26]

both com.google.protobuf.Message.Builder and com.google.protobuf.AbstractMessageLite.Builder define clone() method with different return type.

environments: jdk 1.6, maven 2.2.1

Upvotes: 0

Views: 88

Answers (1)

Ajay
Ajay

Reputation: 156

It seems that it was a bug in java 1.6 which was later fixed. Link

Upvotes: 1

Related Questions