Yesterday I made a project in eclipse, and it was working, compiling. I used Eclipse Galileo for Java EE. Today I open eclipse and see lots of errors saying that stuff is no
Try this:
Go to your project's Properties, set the Java Compiler compliance level to 1.6, let it rebuild the project, then switched back to 1.7 and rebuild it again.
It worked for me :)
Single answer couldn't solve my problem so I used both :
.... tada...done... :)
Perhaps your project lacks in some necessary jars. Try this:
Just make sure Java > Installed JREs has jre6 instead of jdk1.6.0
Eclipse seems detect jdk6 as not jre 1.5+
See also: Eclipse: Syntax Error, parameterized types are only if source level is 1.5
(I know, I know, this question is older by a year, but the other one contains some additional info in Jeff's answer.)