问题
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.
回答1:
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.
回答2:
For me, starting eclipse with -clearPersistedState
flag helped.
回答3:
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)
- Go to your workspace which you wanted to open(you might have multiple workspace)
- .metadata folder will be there inside workspace
- Delete this folder
- open eclipse(just click from you desktop/taskbar/start search eclipse and click)
- it will open the fresh one and import all your project as existing maven project
- clean and build the project
- if not maven project just import the project it will work
来源:https://stackoverflow.com/questions/19361376/how-to-fix-a-workspace-in-eclipse-that-does-not-open-anymore