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

后端 未结 14 1637
执笔经年
执笔经年 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条回答
  •  猫巷女王i
    2020-12-04 14:39

    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.

提交回复
热议问题