Eclipse Blue, Maven: Project configuration is not up-to-date with pom.xml

后端 未结 9 1334
礼貌的吻别
礼貌的吻别 2020-12-14 01:38

I am using Eclipse Blue 10 & Maven 3 in my development environment.

I generally import maven projects from SVN by following below path:

File >         


        
9条回答
  •  Happy的楠姐
    2020-12-14 02:35

    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-plugin
                
                    1.7
                    1.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.

    Upgrade configuration of compiler in pom.xml

    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

    Problems view in Eclipse

提交回复
热议问题