I was working on an Android project and after restarting the computer, eclipse won't run. It's throwing the .metadata.log file error.
Go to ~\.metadata\.plugins\org.eclipse.core.resources
You will find .snap file. Just delete it.
Relaunch Eclipse.
It will work perfectly.
Try using a new workspace. To force the workspace window prompt you need to change the settings in <Eclipse_root_dir>\configuration\.settings\org.eclipse.ui.ide.prefs
and set SHOW_WORKSPACE_SELECTION_DIALOG
to true
.
Source: Eclipse Community Forums
You don't have to delete your .metadata folder because in this way it's going to delete your preferences about your workspace. However delete snap files that exist inside your .metadata folder as well as the .lock files.
Also after you do this don't forget to do a clean start of eclipe
./eclipse -clean
I have also some issues while running Eclipse (with Mercurial and Aptana Plugins).
If you want to find out what is causing this problem backup .metadata
folder and "incrementally" delete folders in <your_workspace_folder>/.metadata/plugins/
. If you delete some folder and Eclipse will run you'll knew that this is the problem.
For Mercurial I delete workspace\.metadata\.plugins\org.eclipse.core.resources\snap
and for Aptana workspace\.metadata\.plugins\org.eclipse.core.resources\.safetable
If you don't care if your preferences get lost simply delete .metadata
folder and run Eclipse again - it'll create new .metadata
folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With