解决The project description file (.project) for i...

解决Myeclipse打开项目报The project description file (.project) for is missing的错误:

26173016_2eFR.png

其实修复办法很简单:将Myeclipse Package Explorer中打不开的项目删除掉,再重新导入即可。造成此问题的主要原因是Myeclipse中记录的项目位置发生了改变,造成Myeclipse找不到.project文件。

26173016_3kJ4.png

我原来插入u盘后,磁盘盘符显示是J盘,这次插入后不知道什么原因盘符变成I盘了。

26173016_dfDJ.png

Myeclipse中记录的项目地址依然为J盘,这就造成Myeclipse找不到.project文件了。

比较详细的修复步骤:

1、删除项目:

选择要删除的打不开(报The project description file (.project) for is missing)的项目,在项目上点击右键,选择删除。

26173016_wAyj.png

注意:一定不要为删除对话框中的Delete project contents on disk(cannot be undone)打上对勾(√)。点击OK,删除掉不能打开的项目。

26173016_Ee7y.png

2、重新导入项目:

打开菜单中的文件(File),选择导入(import...)

26173016_jWko.png

在Import对话框中选择GeneralExisting Projects into Workspace 或者 File System都可以,


26173016_QCOW.png

相应的选择Select root directory 或者 From directory,点击浏览(Browse),选择项目所在位置,其他选项默认,点击完成(Finish)。

以上两步即可完全修复The project description file (.project) for 'twovv-com' is missing.  This file contains important information about the project.  The project will not function properly until this file is restored.

一般情况,即使磁盘盘符改变了,Myeclipse都可以自动更新项目的存储位置,但是不排除碰到自动更新存储位置失败的情况,更多的错误应该查看Myeclipse设置的默认项目存储位置的日志,或许能有更多发现。

转载于:https://my.oschina.net/zhangjie830621/blog/140650