Solution for Eclipse hangs at startup

In your workspace directory perform the following steps:
  1. cd .metadata/.plugins
  2. mv org.eclipse.core.resources org.eclipse.core.resources.bak
  3. Start eclipse. (It should show an error message or an empty workspace because no project is found.)
  4. Close all open editors tabs.
  5. Change to another perspective e.g. Java.
  6. Exit eclipse.
  7. rm -rf org.eclipse.core.resources (Delete the newly created directory.)
  8. mv org.eclipse.core.resources.bk/ org.eclipse.core.resources (Restore the original directory.)
  9. Start eclipse and start working.

留言

這個網誌中的熱門文章

10 Tips for Proper Application Logging

java.lang.NoClassDefFoundError: org/apache/xerces/jaxp/datatype/XMLGregorianCalendarImpl$Parser

Turn off WebLogic basic authentication