I am using Eclipse Blue 10 & Maven 3 in my development environment.
I generally import maven projects from SVN by following below path:
File >
Sorry, I don't have the rep to add comment yet. stonedsquirrel (above) is right though and their answer should be voted as correct:
Worked perfectly for me.
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
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
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
Right click on the project explorer and select maven and select update project.