Eclipse won't start, log error says: ObjectNotFoundException: Tree element

后端 未结 14 1604
执笔经年
执笔经年 2020-12-04 14:07

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

14条回答
  •  北海茫月
    2020-12-04 14:22

    Had similar problem.

    Log file said exception was caused by corruption in the project tree -- a very vague description.

    Deleting individual files and directories in /.metadata/.plugins/org.eclipse.core.resources didn't work for me. I had to delete the entire /.metadata/.plugins/org.eclipse.core.resources directory. I lost the entire project tree but not the projects. They were still in the workspace and just needed to be imported back into Eclipse. I also did not lose the large numbers of plugins configured for working Java, Android, PHP, C++, J2EE, etc.

    This is the second time I encountered a project tree related corruption. The first time I deleted the .metadata altogether and then spent a very long time putting back all the plugins and projects. The direction the other answers here were useful in zeroing in on just the org.eclipse.core.resources directory. Seems deleting the whole directory just results in only needing to reimport all the projects.

    Your mileage may vary...

提交回复
热议问题