我最近从 Indigo 升级到 Juno,虽然到目前为止一切正常,但每次切换视角时都会出现异常:
发生了错误。有关详细信息,请参阅错误日志。org.eclipse.ui.internal.WorkbenchPage.findPerspective(Lorg/eclipse/ui/IPerspectiveDescriptor;)Lorg/eclipse/ui/internal/Perspective;
在日志中有以下内容:
!ENTRY org.eclipse.ui.workbench 4 2 2013-08-01 13:52:11.378 !MESSAGE 从插件调用代码时出现问题:“org.eclipse.ui.workbench”。!STACK 0 java.lang.NoSuchMethodError: org.eclipse.ui.internal.WorkbenchPage.findPerspective(Lorg/eclipse/ui/IPerspectiveDescriptor;)Lorg/eclipse/ui/internal/Perspective; 在 org.eclipse.ui.internal.PerspectiveListenerList$1.run(PerspectiveListenerList.java:74) 在 org.eclipse.core.runtime 的 org.eclipse.papyrus.ui.perspectiveconfiguration.PapyrusPerspectiveListener.perspectiveActivated(PapyrusPerspectiveListener.java:117)。 SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.runtime.Platform.run(Platform.java:857) at org.eclipse.ui.internal.PerspectiveListenerList.fireEvent(PerspectiveListenerList.java:58) at org .eclipse.ui.internal.PerspectiveListenerList。
我发现了类似问题的报告,建议使用-clean选项重新启动应该使事情恢复正常。就我而言,它没有成功。
欢迎提供有关如何解决此问题的任何线索。谢谢你。
更新:我尝试升级到开普勒,但出现此错误:
由于依赖项冲突,无法完成安装。
正在安装的软件:Eclipse IDE for Java EE Developers 2.0.1.20130919-0803 (epp.package.jee 2.0.1.20130919-0803) 当前安装的软件:Eclipse XML Editors and Tools SDK 3.4.2.v201211061806-7A7B58DXJVWwZEWDH3nUMVrrpMjAA0stXe5B.org .xml_sdk.feature.feature.group 3.4.2.v201211061806-7A7B58DXJVWwZEWDH3nUMVrrpMjAA0fXe5BCATMT) 一次只能安装以下之一:Help System UI 4.0.1.v20130708-1201 (org.eclipse.help.ui 4.0.1.v20130708 -1201) 帮助系统 UI 3.5.100.v20110425 (org.eclipse.help.ui 3.5.100.v20110425) 帮助系统 UI 3.5.200.v20120521-2344 (org.eclipse.help.ui 3.5.200.v20120521-2344 ) 帮助系统 UI 3.5.201.v20130108-092756 (org.eclipse.help.ui 3.5.201.v20130108-092756) 帮助系统 UI 3.5.101.r37_20110819 (org.eclipse.help.ui 3.5.101.r37_20110819) 帮助系统 UI 4.0.0.v20130515-1955 (org.eclipse.help.ui 4.0.0.v20130515-1955) 无法满足依赖性:来自:Eclipse IDE for Java EE Developers 2.0.1.20130919-0803 (epp.package. jee 2.0.1.20130919-0803)至:org.eclipse.epp.package.jee.feature.feature.group [2.0.1.20130919-0803] 无法满足依赖:来自:Java EE IDE Feature 2.0.1.20130919-0803(org.eclipse .epp.package.jee.feature.feature.group 2.0.1.20130919-0803) To: org.eclipse.platform.feature.group [4.3.1.v20130911-1000] 不能满足依赖: From: Eclipse Help System 2.0.1 .v20130911-1000 (org.eclipse.help.feature.group 2.0.1.v20130911-1000) 至:org.eclipse.help.ui [4.0.1.v20130708-1201] 无法满足依赖:来自:Eclipse Platform 4.3。 1.v20130911-1000 (org.eclipse.platform.feature.group 4.3.1.v20130911-1000)收件人:org.eclipse.help.feature.group [2.0.1.v20130911-1000] 无法满足依赖性:来自:WST 通用插件开发人员资源 3.4.2.v201212051536-7979AC9xPEJWmZP3qnoEgVwMz0iMF1-Up_QmsEDo (org.eclipse .wst.common_sdk.feature.feature.group 3.4.2.v201212051536-7979AC9xPEJWmZP3qnoEgVwMz0iMF1-Up_QmsEDo)收件人:org.eclipse.wst.validation.doc.isv [1.2.200.v201004280700] 无法满足依赖关系:来自:验证框架 - 开发人员指南 1.2.200.v201004280700 (org.eclipse.wst.validation.doc.isv 1.2.200.v201004280700) 到:捆绑 org.eclipse.help.ui [3.2.0,4.0.0) 不能满足依赖:来自:Eclipse XML 编辑器和工具 SDK 3.4.2.v201211061806-7A7B58DXJVWwZEWDH3nUMVrrpMjAA0fXe5BCATMT (org.eclipse.wst.xml_sdk.feature.feature.group 3.4.2.v201211061806-7A7B58DXJVWwZEWDH3nUMVrrpMjAA0fXe5BCATMT)至:org.eclipse.wst.common_sdk.feature.feature.group [3.4.2.v201212051536-7979AC9xPEJWmZP3qnoEgVwMz0iMF1-Up_QmsEDo]