Last night my machine restarted while Eclipse Galileo was open. No big deal, right?
This morning, I started my machine and tried to open Eclipse. Instead of openin
Use the clean option
I had this error. I start eclipse with "clean" option and that worked for me.
eclipse.exe -clean
Eclipse starts and all projects ok.
For this issue I had to delete the .snap
file located in the directory :
<workspace-directory>\.metadata\.plugins\org.eclipse.core.resources
After deleting that file, I was able to start my Eclipse with no problem.
Deleting .snap file worked perfect for me.
I also had the same problem, this happens when you force shutdown/restart your computer, while your eclipse still running. Deleting .metadata folder worked for me. Delete all the metadata and then import your project from that same workspace.
Just a little tip that might help people avoid an issue that I encountered.
In my case there were multiple workspace directories on my machine. When I ran the mvn sonar:sonar goal then it created its own workspace directory, placed the snapshot (.snap files) in there, and changed a setting to tell maven to look there for changes first. However, this was not my workspace that I was using, so the snapshot was never being updated with my changes. So when maven used that snapshot it could not find the files in their old locations. So I had to eliminate that workspace to resolve the issue. This worked because maven then looked in the next workspace on its list, my workspace, for the snapshot instead of the one added (but never updated) by the sonar goal.
So you might need to search your entire hard drive for *.snap files to see if there is more one workspace being used on your machine.
Check your environment variables _JAVA_OPTION path. I had HP UFT installed on my system and I set _JAVA_OPTION to IGNOREME_JAVA_OPTION for both system and environment variable. After reboot, eclipse showed the same error " check log file". Removed the IGNOREME and eclipse no issues. This could be another possibility that could be looked at to fix the eclipse.
Hope this helps.