Eclipse hangs on loading workbench

后端 未结 22 1295
滥情空心
滥情空心 2020-12-04 05:43

My eclipse stops loading workbench. I tried already starting with ./eclipse --clean

When starting from console it throws following exception:

java.lang         


        
22条回答
  •  渐次进展
    2020-12-04 06:08

    Pretty old question but the most simple answer isn't yet posted.
    Here it is :
    1) In [workspace]\.metadata\.plugins\org.eclipse.e4.workbench delete workbench.xmi file.
    In most cases it's enough - try to load Eclipse.
    Still you have to re-configure your specific perspective settings (if any)

    2) Now getting problems with building projects that worked perfectly? As of my experience following steps help:
    - uncheck Projects->Build automatically
    - switch to Java perspective (if not yet): Window -> Open perspective -> Java
    - locate Problems view or open it: Window -> Show view -> Problems
    - right-click on problem groups and select Delete. Be sure to delete Lint errors
    - clean the workspace: Project -> Clean... with option Clean all projects
    - check Projects->Build automatically
    - if problems persist for some projects: right-click project, select Properties -> Android and make sure appropriate Project Build Target is chosen

    3) It was always sufficient for me. But if you still get problems - try @george post recommendations

提交回复
热议问题