Unsupported IClasspathEntry in Eclipse-STS

I often got annoying pup up error message. An internal error occurred during updating Maven project. The message was Unsupported IClasspathEntry kind=…

Googling for that problem finally got a trick how to resolve it.

  1. Right-click on your project, select Maven > Disable Maven Nature
  2. Open your terminal, go to your project folder and do
       mvn eclipse:clean
  3. Right click on your Project and select Configure > Convert into Maven Project

After converting into maven project, I can update my maven project and everything running well :)