when i convert to maven project the error is :
> An internal error occurred during: \"Updating Maven Project\".
> Unsupported IClasspathEntry kind=4
In my case the problem was a .settings-folder commited to svn. it contained the wrong settings (in my case the jdk was set to wrong location). So deleting .settings on svn and doing a clean checkout did it.
Following worked for me: Right-click project, select Maven -> Remove Maven Nature. Close Eclipse go to project folder on command prompt and do “mvn eclipse:clean” Start Eclipse Right click on Project and select “Configure -> Convert into Maven Project”
I meet the same problem before when I import a project as a maven project. what I did is like is right click project and choose Maven -> Update Project... (Alt-F5) on the context menu. In the Update Maven Project dialog, ensure that "Update project configuration from pom.xml" is checked. Then press OK.
The issue should be resolved.
Another way is, you go to Problem tab, and find the Error, there is a hint saying that right click it and use Quick fix to resolve the problem.
As posted here, the problem is the command line eclipse project generation. So, do not use mvn eclipse:eclipse instead do:
An internal error occurred during: "Importing Maven projects". Unsupported IClasspathEntry kind=4
also delete project from eclipse. and run: mvn eclipse:clean then import project again.
This issue has been fixed in m2e 1.5.0 which is available for Eclipse Kepler (4.3) and Luna (4.4)
Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=374332#c14
The problem is caused by the fact that STS (the Spring IDE/Eclipse), as well Eclipse and other Eclipse based IDE's, use the m2e(clipse) plugin but that eclipse:eclipse has been probably been run on the project. When m2e encounters a "var" .classpath entry, it throws this error.
The update sites are specified at the following url: http://download.eclipse.org/technology/m2e/milestones/1.6/