How to import a spring project in STS

42,372

The workspace in STS/Eclipse is not automatically the same as the file structure that you have on disc in your workspace directory. You can have projects in this workspace folder or somewhere else on disc.

To get them into your project explorer (and access them from inside STS/Eclipse), you need to import them (Import Existing Projects into Workspace). Then you can select the folder where those projects are located in. In case you have those projects already in your workspace folder on disc, you can choose the workspace folder as root folder in the wizard. It will show all the projects that exist on disc in that folder and grey those out that are already imported/referenced in your workspace in Eclipse.

Share:
42,372
Admin
Author by

Admin

Updated on July 09, 2022

Comments

  • Admin
    Admin almost 2 years

    Just by a mistake I had deleted a spring project in STS.To use it back I borrowed the same project from my friend in zip format but when I tried to import it says

    Some projects cannot be imported because they already exist in the workspace

    Following is the way I tried to import

    file->import->general->existing projects into worspace->select archive file

    and after browse when I select the zip project

    Some projects cannot be imported because they already exist in the workspace

    and the finish button and next button are in disabled state.Please help me