gpt4 book ai didi

eclipse - org.eclipse.swt.SWTError : Item not added

转载 作者:行者123 更新时间:2023-12-02 10:41:45 26 4
gpt4 key购买 nike

当错误“org.eclipse.swt.SWTError:未添加项目”一次又一次出现时,有人知道如何恢复从未启动的 Eclipse 吗?

我正在使用 WebSphere Studio Site Developer (Windows) 5.1.0

.metadata/log 文件中唯一的堆栈跟踪是:

SESSION ----------------------------------------------------------------------<br/>
!ENTRY org.eclipse.core.launcher 4 0 sep 17, 2008 16:39:00.564<br/>
!MESSAGE Exception launching the Eclipse Platform:<br/>
!STACK<br/>
java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException: org.eclipse.swt.SWTError: Item not added<br/>
at java.lang.Throwable.<init>(Throwable.java)<br/>
at java.lang.Throwable.<init>(Throwable.java)<br/>
at org.eclipse.swt.SWTError.<init>(SWTError.java:82)<br/>
at org.eclipse.swt.SWTError.<init>(SWTError.java:71)<br/>
at org.eclipse.swt.SWT.error(SWT.java:2358)<br/>
at org.eclipse.swt.SWT.error(SWT.java:2262)<br/>
at org.eclipse.swt.widgets.Widget.error(Widget.java:385)<br/>
at org.eclipse.swt.widgets.Menu.createItem(Menu.java:464)<br/>
at org.eclipse.swt.widgets.MenuItem.<init>(MenuItem.java:77)<br/>
at org.eclipse.ui.internal.AcceleratorMenu.setAccelerators(AcceleratorMenu.java:177)<br/>
at org.eclipse.ui.internal.WWinKeyBindingService.updateAccelerators(WWinKeyBindingService.java:316)<br/>
at org.eclipse.ui.internal.WWinKeyBindingService.clear(WWinKeyBindingService.java:175)<br/>
at org.eclipse.ui.internal.WWinKeyBindingService.update(WWinKeyBindingService.java:267)<br/>
at org.eclipse.ui.internal.WWinKeyBindingService$1.partActivated(WWinKeyBindingService.java:107)<br/>
at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:49)<br/>
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)<br/>
at org.eclipse.core.runtime.Platform.run(Platform.java:413)<br/>
at org.eclipse.ui.internal.PartListenerList.firePartActivated(PartListenerList.java:47)<br/>
at org.eclipse.ui.internal.WorkbenchPage.firePartActivated(WorkbenchPage.java:1180)<br/>
at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:1833)<br/>
at org.eclipse.ui.internal.WorkbenchWindow$7.run(WorkbenchWindow.java:1496)<br/>
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)<br/>
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:1483)<br/>
at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1363)<br/>
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1263)<br/>
at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1223)<br/>
at org.eclipse.ui.internal.Workbench$12.run(Workbench.java:1141)<br/>
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)<br/>
at org.eclipse.core.runtime.Platform.run(Platform.java:413)<br/>
at org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState(Workbench.java:1093)<br/>
at org.eclipse.ui.internal.Workbench.init(Workbench.java:870)<br/>
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1373)<br/>
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)<br/>
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)<br/>
at java.lang.reflect.AccessibleObject.invokeL(AccessibleObject.java:207)<br/>
at java.lang.reflect.Method.invoke(Method.java:271)<br/>
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)<br/>
at org.eclipse.core.launcher.Main.run(Main.java:747)<br/>
at org.eclipse.core.launcher.Main.main(Main.java:583)

最佳答案

我遇到了完全相同的问题。我没有重新启动机器,只是使用“eclipse -clean”启动 eclipse。有效。感谢乔恩的提示。

关于eclipse - org.eclipse.swt.SWTError : Item not added,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/84147/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com