项目浏览器中的项目已消失,但仍保留在磁盘中 [英] Projects in Project Browser are disappeared but remain in disk

查看:58
本文介绍了项目浏览器中的项目已消失,但仍保留在磁盘中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每天,我的项目在eclipse-indigo的项目浏览器中丢失,但仍保留在磁盘中,因此我必须每天早晨再次导入所有项目.您对这个问题有任何想法吗?

Every new day my projects are lost in project browser in eclipse-indigo but remain in disk, so I must import all projects again in every morning. Do you have any idea about this problem?

我可以在〜/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects中看到所有项目

I can see all projects in ~/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects

当我打开日食时,我一天前工作的文件例外:org.eclipse.core.runtime.CoreException:该文件不存在.

When I open the eclipse, the files which I worked one day ago, make an exception: org.eclipse.core.runtime.CoreException: The file does not exist.

两天前,我的日食崩溃了,这个问题很可能在这段时间之后开始了.我也在错误日志中找到了这些

Two days ago my eclipse crashed and this problem started probably after this time. Also I found these in error logs:

->在上一个会话中,工作空间已退出,但未保存更改;刷新工作空间以恢复更改.

--> The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

->忽略了尝试添加已注册的可保存内容的尝试

--> Ignored attempt to add saveable that was already registered

->无法创建编辑器ID org.eclipse.jdt.ui.PropertiesFileEditor:该文件不存在.

--> Unable to create editor ID org.eclipse.jdt.ui.PropertiesFileEditor: The file does not exist.

推荐答案

解决方案:关闭Eclipse IDE删除并备份您的工作空间/.metadata/.plugins/org.eclipse.core.resources目录启动Eclipse IDE(使用-clean超级安全)重新导入所有项目(更新:仅使用File-> Import-> Existing Project进入Workspace并浏览您的工作空间/项目目录)享受

Solution: Shut down Eclipse IDE Remove and backup your workspace/.metadata/.plugins/org.eclipse.core.resources directory Start Eclipse IDE (with -clean to be super-safe) Reimport all projects (UPDATE: Just use File->Import->Existing Project into Workspace and browse your workspace/project directory) Enjoy

来源: http://ahtik.com/blog/2008/01/15/eclipse-workspace-fails-to-start-after-crash-quick-fix/

这篇关于项目浏览器中的项目已消失,但仍保留在磁盘中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆