0

由于某种原因,我的 Eclipse 无法在 Windows 7 中启动。

从错误日志来看,Eclipse 似乎无法创建目录。

我试着用

    eclipse.exe -debug -consolelog 

但这并没有帮助我查看它在创建时实际失败的目录。

我正在使用日食 Helios

异常消息是:

!ENTRY org.eclipse.osgi 4 0 2013-10-01 10:05:58.089
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: com/ibm/team/filesystem/ui/UiPlugin
    at com.ibm.team.metronome.internal.VisibilityController.updateVisibility(VisibilityController.java:53)
    at com.ibm.team.metronome.internal.MetronomeWidget.fill(MetronomeWidget.java:30)
    at org.eclipse.ui.internal.menus.TrimBarManager2$STrimBuilder.renderTrim(TrimBarManager2.java:447)
    at org.eclipse.ui.internal.menus.TrimBarManager2$STrimBuilder.processAdditions(TrimBarManager2.java:378)
    at org.eclipse.ui.internal.menus.TrimBarManager2$STrimBuilder.build(TrimBarManager2.java:330)
    at org.eclipse.ui.internal.menus.TrimBarManager2.update(TrimBarManager2.java:109)
    at org.eclipse.ui.internal.WorkbenchWindow.updateLayoutDataForContents(WorkbenchWindow.java:3834)
    at org.eclipse.ui.internal.WorkbenchWindow.setLayoutDataForContents(WorkbenchWindow.java:3847)
    at org.eclipse.ui.internal.WorkbenchWindow.createDefaultContents(WorkbenchWindow.java:1130)
    at org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefaultContents(WorkbenchWindowConfigurer.java:623)
    at org.eclipse.ui.application.WorkbenchWindowAdvisor.createWindowContents(WorkbenchWindowAdvisor.java:268)
    at org.eclipse.ui.internal.WorkbenchWindow.createContents(WorkbenchWindow.java:1016)
    at org.eclipse.jface.window.Window.create(Window.java:431)
    at org.eclipse.ui.internal.Workbench$22.runWithException(Workbench.java:1208)
    at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
    at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle com.ibm.team.filesystem.ide.ui (139).
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:121)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
    at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 46 more
Caused by: org.osgi.framework.BundleException: Exception in com.ibm.team.filesystem.ui.UiPlugin.start() of bundle com.ibm.team.filesystem.ide.ui.
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
    ... 55 more
Caused by: com.ibm.team.filesystem.client.restproxy.Discovery2$PermissionUtilsRegistrySecurityException: com.ibm.team.filesystem.client.internal.utils.IPermissionUtil$CannotCreateException
    at com.ibm.team.filesystem.client.restproxy.Discovery2.secure(Discovery2.java:834)
    at com.ibm.team.filesystem.client.restproxy.Discovery2.startInProcess(Discovery2.java:760)
    at com.ibm.team.filesystem.client.restproxy.Discovery2.createDaemon(Discovery2.java:716)
    at com.ibm.team.filesystem.client.restproxy.Discovery2.resolve(Discovery2.java:600)
    at com.ibm.team.filesystem.ui.UiPlugin.start(UiPlugin.java:386)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
    ... 61 more
Caused by: com.ibm.team.filesystem.client.internal.utils.IPermissionUtil$CannotCreateException
    at com.ibm.team.filesystem.client.internal.HardcodedPermissionUtils.mkRoot(HardcodedPermissionUtils.java:181)
    at com.ibm.team.filesystem.client.restproxy.Discovery2.secure(Discovery2.java:832)
    ... 68 more
4

2 回答 2

0

看起来这是一个权限问题。请重新安装并确保您的普通用户有权访问应用程序目录并执行。

作为调试,将其安装在自定义文件夹中(而不是程序文件文件夹中),如果可能的话,安装在 Windows 驱动器上(例如 D:.E:\ 等)。如果您没有其他驱动器,请创建一个不同的文件夹,然后尝试安装并查看它是否有效。

于 2013-10-01T10:17:06.213 回答
0

终于找到了解决办法

A. 删除文件夹:

${Eclipse-home}\plugins\com.ibm.team.filesystem.ide.ui_2.1.0.v20101110_2353

B. 启动 eclipse(现在 eclipse 启动就好了)

C.重新安装插件

根本问题仍然未知:(

于 2013-10-01T10:20:00.930 回答