This is because JDK 1.5 doesn't allow @Override to annotate a method that implements part of an interface. The compatibility issue is fixed in svn http://code.google.com/p/protobuf/source/detail?r=384
You can either patch the diff, or wait for the next release (2.4.1) soon. On Wed, Apr 20, 2011 at 2:02 AM, SImplyG2010 <thomas.sheppar...@gmail.com>wrote: > Good evening, > > I have been stepping through the non maven compile of proto buffers > for Java and everything seems to have compiled correctly. However when > I bring the main code into Eclipse as a project I get the following > error. > > The method getUnknownFields() of type > GeneratedMessage.Builder<BuilderType> must override a superclass > method > > has anyone seen this before or know how I can resolve it? > > Any help you are able to give will be very much appreciated. > > -- > 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. > > -- 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.