有没有办法解决这个问题?
我也是后跟 letsgetdugg/2009/04/19 / recovery-a-corrupt-eclipse-workspace / ,这也没有帮助。
解决方案所有配置您的工作区的数据存储在 .metadata 中。尝试恢复已删除的文件夹,然后修复工作区。否则,您将需要重新配置所有内容。
您可以从 .metadata 中挽救某些文件夹以保持您的偏好(例如键绑定)至少。
I had a corrupt workspace (due to svn collision). I deleted the .metadata directory from the workspace, and then reloaded eclipse, and did an "import" of a project into the workspace. However, the project got imported in a rather strange way -- all directories in the project appear, but the src/ directory does not have automatic compilation (when choosing a .java file) -- it is as if the src/ directory is not identified as a special directory.
Is there a way to fix that?
I also followed letsgetdugg/2009/04/19/recovering-a-corrupt-eclipse-workspace/, and that did not help either.
解决方案All configuration data for your workspace is stored in .metadata. Try to recover the deleted folder then fix the workspace. Otherwise you will need to reconfigure everything.
You can salvage certain folders from .metadata to keep your preferences (e.g. key bindings) at least.
更多推荐
如何在eclipse中恢复损坏的工作空间?
发布评论