I got this problem when I upgrade Java from JRE System Library [JavaSE 1.6] to JRE System Library [JavaSE 1.7].
After did like this the following error is displayed in Problems view Project configuration is not up-to-date with pom.xml. Run project configuration update.
I changed the configuration of compiler in pom.xml, Previously the value of source and target value is 1.6, I changed it to 1.7
maven-compiler-plugin1.71.7
For get rid of this problem simply follow the below process.
SOLUTION:Right click on the project -> Maven4MyEclipse -> Update Project Configuration...
The below image shown you how to do in MyEclipse IDE.
or
SOLUTION: Right click on the error in Problems view -> click on Quick Fix
The below image shown you how to do in Eclipse IDE