eclipse 定期工作区保存无法保存安全表?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9531494/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 17:47:15  来源:igfitidea点击:

Periodic workspace save could not save safe table?

eclipseibm-rad

提问by Niklas

I'm a newbie and I'm using the IBM RAD which is based on Eclipse. After install I deleted some files that seemed not needed in C:\workspace. Now I get this error: enter image description here"Periodic workspace table can not be saved, file could not be found, could not save file table to C:\workspace.metadata..." Could you tell what I should do to resolve the error? Thanks

我是新手,正在使用基于 Eclipse 的 IBM RAD。安装后,我删除了 C:\workspace 中似乎不需要的一些文件。现在我收到这个错误: 在此处输入图片说明“无法保存定期工作区表,找不到文件,无法将文件表保存到 C:\workspace.metadata...”你能告诉我应该怎么做才能解决这个错误吗?谢谢

采纳答案by E-Riz

Restore the files you deleted.

恢复您删除的文件。

If you have no way to do that, create a new workspace (File> Switch Workspace> Other...) and then import your projects from the old one into the new one.

如果您无法这样做,请创建一个新工作区(文件>切换工作区>其他...),然后将旧项目导入到新项目中。

回答by eaykin

If you get this error in Linux environment, just update the ownership of the file below, and make the owner as same as the owner of the workspace folder:

如果在 Linux 环境中出现此错误,只需更新以下文件的所有权,并使所有者与工作区文件夹的所有者相同:

<workspace>/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources

This solution works for Eclipse version 4.3

此解决方案适用于 Eclipse 4.3 版

回答by baroon

This error message happened to me when I was copying old project files and importing (all) files to new project. I did following and solved the issue:

当我复制旧项目文件并将(所有)文件导入新项目时,我发生了此错误消息。我做了以下并解决了这个问题:

  1. Created a new workspace, and switched current workspace to that
    one, and close Eclipse.
  2. Created a missing folder, in this case, "org.eclipse.core.resources".
  3. In Eclipse, switched to previous workspace, and started working with Eclipse. After a while, Eclipse created necessary files and that error message was gone.
  1. 创建一个新工作区,并将当前工作区切换到该工作区
    ,然后关闭 Eclipse。
  2. 创建了一个丢失的文件夹,在本例中为“org.eclipse.core.resources”。
  3. 在 Eclipse 中,切换到以前的工作区,并开始使用 Eclipse。过了一会儿,Eclipse 创建了必要的文件,错误消息消失了。