I have imported maven project in STS, when I run update update project I receive:
\"Updating Maven Project\". Unsupported IClasspathEntry kind=4
Seeing all other answers. I found for me a simpler way.
I just removed all lines in the .classpath (editing with eclipse) containing a var and used maven -> update project without an error.