Re: [protobuf] Error in java Main

2011-04-28 Thread Pherl Liu
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

[protobuf] Error in java Main

2011-04-20 Thread SImplyG2010
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