As the title mentioned I have the following problem: I use Eclipse
with Maven Nature
and when I update my Maven Project, I get this error:
An internal error occurred during: "Updating Maven Project".
Unsupported IClasspathEntry kind=4
The solution that always comes back is the following:
- rightclick project, remove maven nature
mvn eclipse:clean
(with project open in eclipse/STS)- (sometimes they suggest to do
mvn eclipse:eclipse
next) - rightclick project and reenable maven nature
Now I exhaustively tried all combinations several times. But I always keep getting the above error. The error starting occurring when I had to mvn eclipse:eclipse
the project. Before it was always running fine using only m2eclipse features and setting everything in eclipse.
Slightly different option usually works for me:
That's all, no need to re-import but need to have the terminal window handy.