When I update a Maven project in Eclipse Juno (m2eclipse version 1.2.0) I sometimes get back an error message reporting:
“Updating Maven Project”. Unsupported IClasspathEntry kind=4
There are some strategies on how to solve this. The most successful in my case is to perform the following steps:
- Disable the Maven Nature of the project by Right-clicking the project and selecting Maven -> Disable Maven Nature
- Fire up a terminal in the projects directory and run
mvn eclipse:clean(Important: the project still needs to be open in Eclipse!)
- Re-enable the Maven Nature of your project by Right-clicking the project and selecting Configure -> Convert to Maven Project
If you now update the project again (Right-click on project -> Maven -> Update Project), everything should run smoothly. If not, you may find additional hints in the stackoverflow question where I drew this solution from.
Another successful solution to this problem is to open up the .classpath file of your project and remove all entries with attribute kind=”var”.
- stackoverflow : This is where I found this solution.