我正在使用eclipse STS IDE。使用Amateras HTML editor plugin。我工作正常,但重新启动后,我无法使用此编辑器重新启动任何文件。我在eclipse日志文件中看到了这个错误。
Caused by: java.lang.NoSuchMethodError: org.eclipse.ui.internal.PopupMenuExtender.<init>(Ljava/lang/String;Lorg/eclipse/jface/action/MenuManager;Lorg/eclipse/jface/viewers/ISelectionProvider;Lorg/eclipse/ui/IWorkbenchPart;)V
at tk.eclipse.plugin.htmleditor.editors.SplitPageHTMLEditor$SplitEditorSite.registerContextMenu(SplitPageHTMLEditor.java:234)
at tk.eclipse.plugin.htmleditor.editors.SplitPageHTMLEditor$SplitEditorSite.registerContextMenu(SplitPageHTMLEditor.java:282)
at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3521)
at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:54)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:447)
at tk.eclipse.plugin.htmleditor.editors.HTMLSourceEditor.createPartControl(HTMLSourceEditor.java:162)
at tk.eclipse.plugin.htmleditor.editors.SplitPageHTMLEditor.createPartControl(SplitPageHTMLEditor.java:131)
at tk.eclipse.plugin.htmleditor.editors.HTMLEditor.createPartControl(HTMLEditor.java:128)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:142)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:96)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:323)
at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
... 95 more
我多次重启eclipse但仍无法正常工作。怎么了?有没有要清除的缓存?
答案 0 :(得分:0)
我创建了一个新的工作区,它工作正常。