Eclipse启动失败,启动一半后自动关闭

今天不知道为什么,启动Eclipse,启动一半后自动关闭,启动失败。具体图片如下:

1、启动界面

Eclipse启动失败,启动一半后自动关闭_第1张图片

但是到一半后,就自动消失。后天提示问题如下:

java.lang.NullPointerException
        at org.eclipse.core.internal.runtime.InternalPlatform.getLog(InternalPlatform.java:354)
        at org.eclipse.core.runtime.Plugin.getLog(Plugin.java:291)
        at org.eclipse.ui.internal.WorkbenchPlugin.log(WorkbenchPlugin.java:830)
        at org.eclipse.ui.statushandlers.StatusManager.logError(StatusManager.java:285)
        at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java:200)
        at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java:231)
        at org.eclipse.ui.statushandlers.StatusManager$StatusManagerLogListener.logging(StatusManager.java:305)
        at org.eclipse.core.internal.runtime.RuntimeLog.logToListeners(RuntimeLog.java:160)
        at org.eclipse.core.internal.runtime.PlatformLogWriter.logged(PlatformLogWriter.java:100)
        at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.safeLogged(ExtendedLogReaderServiceFactory.java:86)
        at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.logPrivileged(ExtendedLogReaderServiceFactory.java:205)
        at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.log(ExtendedLogReaderServiceFactory.java:178)
        at org.eclipse.equinox.log.internal.ExtendedLogServiceFactory.log(ExtendedLogServiceFactory.java:65)
        at org.eclipse.equinox.log.internal.ExtendedLogServiceImpl.log(ExtendedLogServiceImpl.java:87)

...........................................................

Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.Workbench$55

怎么解决这个问题?

看问题是在Loading Workbench处关闭。可知是此处的问题

首先我做的是更改Workspace文件夹的名字,

,之后再启动启动成功,可是所有的工程全部消失,等于以前的配置都没了。


2、之后我用了另一个方法,就是把元workspace的内容直接复制到新的workspace中,但是保留已存的文件,之后再启动提示如下内容



你可能感兴趣的:(Eclipse启动失败,启动一半后自动关闭)