Reputation: 551
One of my workspaces in eclipse can't be opened anymore. The other workspaces work fine. How can I fix this? First I thought this is an eclipse problem, but since the other workspaces work fine, something must be wrong with the workspace.
Upvotes: 26
Views: 65057
Reputation: 21
Warning : deleting .metadata also deletes projects setups. So this worked for me:
Upvotes: 2
Reputation: 11
Nothing worked for me so in the end created backup of .metadata and then .metadata->.plugins.->org.eclipse.core.resources.->.projects and there started removing projects one by one. One project was creating the problems for me. Also had -clean -clearPersistedState in eclipse.ini .
Upvotes: 1
Reputation: 21
ty! the -clearPersistedState flag helped. How I did, i open in powershell the folder where the eclipse.exe was and execute .\eclipse.exe -clean -clearPersistedState
Upvotes: 2
Reputation: 87
if you delete the .metadata folder remember to import and reconfigure your workspace
Upvotes: 0
Reputation: 5522
For me, starting eclipse with -clearPersistedState
flag helped.
Upvotes: 13
Reputation: 61
I am using maven project with eclipse kepler ,I had also faced the same problem(workspace was not opening),please follow the below steps it may work (please shutdown your machine everyday properly to avoid such issue)
Upvotes: 6
Reputation: 1837
Try this-->>Goto .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi and remove workbench.xmi file to solve this issue:
.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi.
Upvotes: 72