I shutdown my machine yesterday and this morning on launching my eclipse it loads without any of my projects. I have tried doing a - clean to it to no avail. Also under the following path
workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\
all my projects are present. How would I go about fixing this?
[Adapted from my comments above.]
Try re-importing the existing projects.
Choose the menu item File>Import... . In the resulting dialog Import , choose the item General>Existing Projects into Workspace .
You can select multiple projects in the dialog.
Try below and see if it works
Go to Window->Preferences->General->Startup ans Shutdown -> Workspaces
Make sure workspaces contains path of your workspace. If not then you have to add it manually.
Once you add workspace close your eclipse and then delete workspace/.metadata/.lock file if exist and restart it again
Note: Also make sure you have Prompt for workspace on startup checkbox is checked
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.