How to fix a workspace in eclipse that does not open anymore?

后端 未结 3 653
醉酒成梦
醉酒成梦 2021-02-05 10:40

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 wor

相关标签:
3条回答
  • 2021-02-05 11:09

    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.
    
    0 讨论(0)
  • 2021-02-05 11:10

    For me, starting eclipse with -clearPersistedState flag helped.

    0 讨论(0)
  • 2021-02-05 11:23

    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
    0 讨论(0)
提交回复
热议问题