Thursday, August 4, 2011

Type The method compareTo(Request) of type Request must override a superclass method ? haa?

We were working on Eclipse Galileo and moved to the new version Indigo but some of the projects that were working fine in Galileo started trowing this exception. Problem is in Galileo Java compiler compliance is set to JRE 1.6 but in Indigo it's set to 1.5 for some reason.

So to fix this error you need to change the compliance to 1.6 back, To do this, Go to your Window -> Preferences -> Java -> Compiler -> Set to 1.6 and set the java compiler level to 1.6 and also make sure you select JRE 1.6 to execute your program from eclipse.

No comments:

Post a Comment