Spring 带有 Google GWT 插件的工具套件在 Java2HTMLEntityReader 中抛出错误
Spring Tool Suite with the Google GWT plugin throws errors in Java2HTMLEntityReader
我尝试将旧项目更新到新版本的 STS。它主要工作但由于某种原因,google 插件 - 项目所需 - 抛出错误:
An error has occurred. See error log for more details.
org/eclipse/jdt/internal/formatter/comment/Java2HTMLEntityReader
在错误日志中:
!ENTRY org.eclipse.jface 4 2 2016-03-08 12:39:04.740
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/formatter/comment/Java2HTMLEntityReader
at com.google.gwt.eclipse.oophm.views.hierarchical.LogContent.convertToHtmlContent(LogContent.java:237)
at com.google.gwt.eclipse.oophm.views.hierarchical.LogContent.buildLabelHtml(LogContent.java:332)
at com.google.gwt.eclipse.oophm.views.hierarchical.LogContent.updateDetailsPane(LogContent.java:599)
at com.google.gwt.eclipse.oophm.views.hierarchical.LogContent.access(LogContent.java:568)
at com.google.gwt.eclipse.oophm.views.hierarchical.LogContent.selectionChanged(LogContent.java:454)
at org.eclipse.jface.viewers.Viewer.run(Viewer.java:163)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil.run(JFaceUtil.java:50)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2197)
at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1733)
at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1093)
at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:388)
at com.google.gwt.eclipse.oophm.model.LogContentProvider.run(LogContentProvider.java:132)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4155)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3772)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1127)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:694)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
这是由 google GWT 插件引起的。我使用 STS 欢迎页面按钮安装了该插件:
所以我必须有最新版本。我试图请求更新,但该插件没有更新报告。我现在不能离开 GWT,那么我该如何解决这个问题?
当前版本的 GPE 因火星而损坏,这意味着出现此异常。在不久的将来,这将得到修复。
在那之前,我在 fork 中有一个解决方法,可以在 mars 中解决这个问题。在此处下载 GPE 插件的分支:
http://gwt-plugins.github.io/documentation/gwt-eclipse-plugin/Download.html
按照下载页面上的说明进行操作。
我尝试将旧项目更新到新版本的 STS。它主要工作但由于某种原因,google 插件 - 项目所需 - 抛出错误:
An error has occurred. See error log for more details.
org/eclipse/jdt/internal/formatter/comment/Java2HTMLEntityReader
在错误日志中:
!ENTRY org.eclipse.jface 4 2 2016-03-08 12:39:04.740
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/formatter/comment/Java2HTMLEntityReader
at com.google.gwt.eclipse.oophm.views.hierarchical.LogContent.convertToHtmlContent(LogContent.java:237)
at com.google.gwt.eclipse.oophm.views.hierarchical.LogContent.buildLabelHtml(LogContent.java:332)
at com.google.gwt.eclipse.oophm.views.hierarchical.LogContent.updateDetailsPane(LogContent.java:599)
at com.google.gwt.eclipse.oophm.views.hierarchical.LogContent.access(LogContent.java:568)
at com.google.gwt.eclipse.oophm.views.hierarchical.LogContent.selectionChanged(LogContent.java:454)
at org.eclipse.jface.viewers.Viewer.run(Viewer.java:163)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil.run(JFaceUtil.java:50)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2197)
at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1733)
at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1093)
at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:388)
at com.google.gwt.eclipse.oophm.model.LogContentProvider.run(LogContentProvider.java:132)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4155)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3772)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1127)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:694)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
这是由 google GWT 插件引起的。我使用 STS 欢迎页面按钮安装了该插件:
所以我必须有最新版本。我试图请求更新,但该插件没有更新报告。我现在不能离开 GWT,那么我该如何解决这个问题?
当前版本的 GPE 因火星而损坏,这意味着出现此异常。在不久的将来,这将得到修复。
在那之前,我在 fork 中有一个解决方法,可以在 mars 中解决这个问题。在此处下载 GPE 插件的分支: http://gwt-plugins.github.io/documentation/gwt-eclipse-plugin/Download.html
按照下载页面上的说明进行操作。