Classpath entry org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER will not be exported

前端 未结 14 877
离开以前
离开以前 2020-12-24 00:09

I\'m getting this warning in Eclipse:

Classpath entry org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER will not be exported or published. Runtime ClassNotFo

14条回答
  •  情歌与酒
    2020-12-24 01:08

    I had the same issue after updating my JDK in project and resolved it by replacing my .classpath file with previous one. I noticed the following changes in my .classpath file

        
            
            
        
    

    The second line was missing from above code

    
    

    This line was missing

        
        
            
        
    
    

    These lines were added so I manually removed them and it all worked again.

提交回复
热议问题