Compile error: must implement the inherited abstract method

2009-10-08 Thread TD

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.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~--~~~~--~~--~--~---



Re: Compile error: must implement the inherited abstract method

2009-10-09 Thread TD

Never mind this report... I had a version mix-up.  I'm good now!

On Oct 9, 12:38 am, TD t...@ducbase.com wrote:
 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.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~--~~~~--~~--~--~---