[eclipse] How to open an existing project in Eclipse?

I have just created several project using Eclipse. Now restart Eclipse and want to see one of the projects. How can I do it?

I have tried File -> Import -> General -> Existing Project into Workspace.

Then I select the directory of the project that I want to work on and, as a result, I get an error message: "Some projects cannot be imported because they already exist in the workspace".

So, it looks like that I do not need to import a project, because they are already in the workspace... But how I can "see" the projects that are in the workspace? If I create a new project, I see it as well as all other existing projects but I do not want to create a new project just to see the existing projects.

This question is related to eclipse project

The answer is


Use shortcut Alt+Shift+W or navigate to Windows->Show View->Project Explorer


From the main menu bar, select command link File > Import.... The Import wizard opens.
Select General > Existing Project into Workspace and click Next.
Choose either Select root directory or Select archive file and click the associated Browse to locate the directory or file containing the projects.
Under Projects select the project or projects which you would like to import.
Click Finish to start the import.

In Eclipse, try Project > Open Project and select the projects to be opened.


In case you closed multiple projects and trying to re-open all of them then in Project Explorer, select all projects. Go to Project -> Open Project.


If it's a maven project, go to file>import>maven project >existing maven project, then browse for the folder that contains the project, select folder then click finish. That worked for me


Just do like below, it helped me after doing like this.

To load existing Eclipse projects in the IDE, you need to import them into the Eclipse workspace.

  1. Click File > Import > General
  2. Click Existing Projects into Workspace.
  3. You can edit the project directly in its original location or choose to create a copy of the project in the workspace.
  4. Select the directory that contains the projects you want to import.
  5. Click Finish. This imports the projects into the current workspace and loads them in the IDE.

Look at this below link for reference. https://www.microfocus.com/documentation/enterprise-developer/ed30/Eclipse/GUID-773A19C7-98B2-442D-9D36-240E20E3F2CE.html


If you are trying to import non maven project into eclipse follow the below steps, it worked for me.

first clone project into your machine and follow the below steps to import in eclipse.

Project Explorer -> import -> Git -> Projects from git -> Existing Local repository -> Add -> select project root directory -> (check box) import as general project -> next -> finish

Thanks.


I also have just faced with this problem that how to open existing file. And none of answers was helpful. That's why I tried by myself.

Direction: File -> Open file -> Workspace (with you had chosen first in creating your project) -> Package (which you already created your project in) -> src (source file) -> Created package ->

And now your searching project's nodepad format. I hope it would be helpful. If any mistake here, sorry beforehand.


If you closed the project, you can open it again easily by going to the top bar (alt) > ?Project > Open Project Top menu > Project > Open Project You will get a menu where you can open closed projects that can be preventing you from opening these projects through the File menu. The window that lets you open any closed projects after you go through the menu listed previously


In case you closed multiple projects and trying to re-open all of them then in Windows->Show view-> Navigator


from Eclipse main gui: select "Window->Show View->Other->General->Project Explorer" Double-clicking on "Project Explorer" brings up the "Project Explorer" window which shows every project in your workspace. That worked for me.

Good luck.


This is How I do it.

File -> Open Project from File System -> Existing Project in WorkSpace


Examples related to eclipse

How do I get the command-line for an Eclipse run configuration? My eclipse won't open, i download the bundle pack it keeps saying error log strange error in my Animation Drawable How to uninstall Eclipse? How to resolve Unable to load authentication plugin 'caching_sha2_password' issue Class has been compiled by a more recent version of the Java Environment Eclipse No tests found using JUnit 5 caused by NoClassDefFoundError for LauncherFactory How to downgrade Java from 9 to 8 on a MACOS. Eclipse is not running with Java 9 "The POM for ... is missing, no dependency information available" even though it exists in Maven Repository The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. on deploying to tomcat

Examples related to project

How to create a Java / Maven project that works in Visual Studio Code? IntelliJ does not show 'Class' when we right click and select 'New' error C2220: warning treated as error - no 'object' file generated Android Studio: Default project directory Error: Selection does not contain a main type How to open an existing project in Eclipse? The project was not built since its build path is incomplete Eclipse projects not showing up after placing project files in workspace/projects Method to find string inside of the text file. Then getting the following lines up to a certain limit "Sources directory is already netbeans project" error when opening a project from existing sources