Project description file (.project) for my project is missing

I am using Eclipse PDT 3.5 for Vista (32 bit). It works, although eclipse needs administrator privileges to execute. It annoys me, but I accept it.

But: from time to time (I’m not sure, maybe even every time I want to open a project), I get the error message "Project description file (.project) for my project is missing."

It is absent, it is located in the main folder of the project. It has no special flags (it is not hidden, neither the system file nor write-protected).

This is for ALL projects that I have on my list. The only solution I have found so far is to remove the project from eclipse, re-add it. This is somewhat annoying.

What can I do?

EDIT: Workspaces reside on the server volume. Could this be a problem? I used to use Eclipse 3.3, and there were no problems with server paths. And the server volume is mapped to a drive letter.

+53
eclipse eclipse-pdt
Oct 07 '09 at 13:06
source share
10 answers

I found this solution in googling. I had this problem and she solved it.

My mistake was to put the project in another place from the workspace and share this workspace between several computers, where the paths are different. I found out that when a project leaves the workspace, its location is saved in the /.metadata/.plugins/org.eclipse.core.resources/.projects/PROJECTNAME/.location workspace

Removing and moving the project to the workspace solved the problem. Hope this helps.

+61
Jun 27 '13 at 12:34 on
source share

I had the same problem and in my case the .project file .project also present in the project directory and had the correct permissions.

This problem happened to me after I closed and quickly opened several projects one by one, and Eclipse tried to rebuild them at the same time.

In my case, Eclipse lost the .location file in the workspace directory for 2 of 5 projects: <workspace>/.metadata/.plugins/org.eclipse.core.resources/.projects/<project name>/.location

I followed the instructions How to get a list of projects if I accidentally delete metadata and import the project into the workspace manually through File :: Import :: Other :: General :: Existing Projects . After that, the .location file was created again, and Eclipse stopped complaining.

+9
May 18 '12 at 19:01
source share

I had the same problem and did not get this error, since I am closing the project before closing myEclipse and not removing the default location.

My source project and compiled files are outside the default workspace, but there are stubb folders created by default myEclipse in the default workspace. When I set up the project, there are two .project files - one in the default workspace that points to the working directory, and one .project in my selected directory.

+1
Dec 10 '09 at 17:18
source share

If you move files manually for any reason, Elipse lost the link and generated a project file error, but the reason is that you manually move the files and Eclipse lost the link

+1
May 16 '11 at 17:58
source share

I am using Eclipse 3.5.1 on Ubuntu. After rebooting my machine, my projects in the PHP Explorer view issued a warning that the .project file was missing. The problem was that the external directory in which my projects were located was not installed upon reboot. So I made mount -a from the command line and Eclipse recognized the files.

0
Mar 10 '10 at 15:59
source share

If you only want to check and delete the folder from the workspace, you also need to remove the link to it in the Java view. Then it should be checked, as if it was checked for the first time.

0
Aug 09 '10 at 21:37
source share
 <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>Lynxster</name> <comment></comment> <projects> </projects> <buildSpec> </buildSpec> <natures> </natures> </projectDescription> 

in the name tag, specify the name of the project folder and save this file with the extension .project & amp; paste it into the project folder.

it worked for me.

0
Oct 08 '14 at 10:12
source share

In my case, I changed the root folder in which the Eclipse project was stored. I found that when I ran:

 cat .plugins/org.eclip.resources/.projects/<projectname>/.location 
0
Aug 18 '18 at 22:15
source share

Martin faced the same problem in the Minecraft Mod project when I changed the location of the main folder. I would usually open a project like this

This is what my path looked like when I started the project

I got the same: "The project description file (.project) for my project is missing." Mistake.

Later I found a .project file in the main folder like this.

This is the place where I found the .project file

I found that an eclipse in "File-> Open project from file system or archive" and going to the main project folder with the .project file solved the problem.

My project is already on

This is my first post here, hope it helps you, Martin.

0
Dec 22 '18 at 14:42
source share

If you back up your worskpace folder, all you have to do is restore the following folder from the backup:

 workspace/.metadata/.plugins/org.eclipse.core.resources 
-one
Sep 22 '14 at 21:10
source share



All Articles