An internal error occurred during: "Updating Maven Project
when i convert to maven project the error is :
> An internal error occurred during: "Updating Maven Project".
> Unsupported IClasspathEntry kind=4
what's the problem?
This is all you need:
- Right-click on your project, select Maven -> Disable Maven Nature.
- Open you terminal, go to your project folder and do “mvn eclipse:clean”
- Right click on your Project and select “Configure -> Convert into Maven Project”
Here is what worked for me: After the steps posted in Answer 21 above (the last being Convert to Maven Project), I did:
mvn eclipse:eclipse
- this regenerates your .project and .classpath files (both of which were blown away bymvn eclipse:clean
in step (2) above)In Eclipse, I right-clicked my project(s) and then Maven > Update Project
I did not see the Unsupported IClasspathEntry kind=4
message anymore :)
As posted here, the problem is the command line eclipse project generation. So, do not use mvn eclipse:eclipse instead do:
- delete your project from eclipse (without deleting it from your file system)
- do mvn eclipse:clean in your command line inside your project folder
- delete .classpath .project .settings in your project folder (if they still exist after doing 2.)
- in eclipse import your project as an "Existing Maven Projects" and it should work flawlessly