*
The moose likes IDEs, Version Control and other tools and the fly likes Error : A project already exists with this name. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Error : A project already exists with this name." Watch "Error : A project already exists with this name." New topic
Author

Error : A project already exists with this name.

Rohan Bhanderi
Greenhorn

Joined: May 19, 2012
Posts: 4

Actually I deleted a Dynamic web Project from my file system directly and when eclipse was not running.
And when I started my eclipse the project was deleted from Project Explorer but when I tried to create a new Dynamic project with same name as the one which I deleted from filesystem then I am getting this error.
Is there any solution to this problem ?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

Hmm, when I do this there is still a project folder for that project in Eclipse, but the folder is "greyed out". Usually what I do is delete the folder within the Project Explorer and then I can create the project again.


JBoss In Action
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

Try doing a Refresh on the project Explorer view.

The Eclipse workspace metatdata still thinks the project is there, but the project directory itself is gone, so Eclipse has become out of sync with its underlying filesystem.

Eclipse will probably ask you to fix that problem when you refresh, but you should also be able to do what Peter said.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error : A project already exists with this name.