Compile error: must implement the inherited abstract method

203 views
Skip to first unread message

TD

unread,
Oct 8, 2009, 6:38:00 PM10/8/09
to Protocol Buffers
Hi,

I've just downloaded and build a fresh Protocol Buffer package. I'm
planning to use the Java version. I've added protoc to my path and
compiled two .proto files successfully. I've created an eclipse
project, and added the protobuf-java-2.2.0.jar file to the path. The
two generated a source files go in the src directory. Now when
eclipse tries to build the classes, I'm getting an error like the one
below for all inner classes in the generated class:
The type OneDircontent.DirectoryContent must implement the inherited
abstract method Message.toBuilder()

Any idea what's wrong? I've set my workspace to build for JDK 1.6.

Thanks for any pointers you can provide!

Regards,
Tom.

TD

unread,
Oct 9, 2009, 3:20:09 AM10/9/09
to Protocol Buffers
Never mind this report... I had a version mix-up. I'm good now!
Reply all
Reply to author
Forward
0 new messages