that fixed it for me:

rm YOUR_WORKSPACE/.metadata/.plugins/org.eclipse.core.resources/.snap

credit: http://www.metod.si/job-found-still-running-after-platform-shutdown-eclipse/


Deleting .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi solved the problem in my case.


I had to delete both of the following files as suggested in other answers to solve my issue,

  • .metadata/.plugins/org.eclipse.core.resources/.snap
  • .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi

Running eclipse from the command line with the -clearPersistedState switch fixed it for me:

$> eclipse -clearPersistedState

Unfortunately, it did not work for me since I did not have .snap under

<home>/.metadata/.plugins/org.eclipse.core.resources

I ended up with the following sequence:

cd <home>/.metadata
mv .plugins .plugins.failing
<start eclipse>
<exit eclipse>  <--- builds fresh .plugins
cp -r .plugins.failing/org.eclipse.core.resources .plugins/org.eclipse.core.resources  <-- restores existing projects