我正在使用 PHP 和 Maven 开发一个项目,并且想使用 gmaven 插件来完成我的 maven 设置的一些繁琐部分。在厌倦了使用运行、记录、冲洗、重复调试方法后,我决定安装 groovy-eclipse,但不幸的是,这样做会导致 zend studio 停止运行。我已经浏览了错误消息,但不是很清楚到底是什么坏了,只有所有的 php 功能(以及我的大多数其他插件,例如 css 工具)在这里输入的代码都消失了。
安装 groovy 时没有错误消息,此后我尝试从全新的 Eclipse 4.2 安装开始,然后安装 groovy,然后安装 zend studio。结果相同。
大致相关的日志消息是:
!SESSION 2012-07-03 19:13:20.130 -----------------------------------------------
eclipse.buildId=I20120608-1400
java.version=1.7.0_04
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_AU
Command-line arguments: -data C:\Users\F.Master\dev\binu -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-07-03 19:13:29.286
!MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.e4.tools.css.spy/org.eclipse.e4.tools.css.spy.OpenSpyHandler
!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-07-03 19:13:29.286
!MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.e4.tools.css.spy/org.eclipse.e4.tools.css.spy.OpenScratchpadHandler
!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-07-03 19:13:29.287
!MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.e4.tools.emf.liveeditor/org.eclipse.e4.tools.emf.liveeditor.OpenLiveDialogHandler
!ENTRY org.eclipse.jface 4 0 2012-07-03 19:13:33.448
!MESSAGE Unable to resolve plug-in "platform:/plugin/org.eclipse.wst.xml.ui//icons/xmldoc.gif".
!STACK 0
java.io.IOException: Unable to resolve plug-in "platform:/plugin/org.eclipse.wst.xml.ui//icons/xmldoc.gif".
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(PlatformURLPluginConnection.java:64)
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.resolve(PlatformURLPluginConnection.java:75)
at org.eclipse.core.internal.boot.PlatformURLHandler.openConnection(PlatformURLHandler.java:67)
at org.eclipse.osgi.framework.internal.protocol.URLStreamHandlerProxy.openConnection(URLStreamHandlerProxy.java:112)
at java.net.URL.openConnection(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformURLConverter.toFileURL(PlatformURLConverter.java:33)
at org.eclipse.core.runtime.FileLocator.toFileURL(FileLocator.java:206)
at org.eclipse.jface.resource.URLImageDescriptor.getFilePath(URLImageDescriptor.java:137)
at org.eclipse.jface.resource.URLImageDescriptor.createImage(URLImageDescriptor.java:157)
at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:227)
...
还有更多类似的缺失图标......以及
!ENTRY org.eclipse.team.core 4 0 2012-07-03 19:13:40.790
!MESSAGE Could not instantiate provider org.tigris.subversion.subclipse.core.svnnature for project maven-remote-resources-plugin.
!STACK 1
org.eclipse.team.core.TeamException: Could not instantiate provider org.tigris.subversion.subclipse.core.svnnature for project maven-remote-resources-plugin.
at org.eclipse.team.core.RepositoryProvider.mapNewProvider(RepositoryProvider.java:165)
at org.eclipse.team.core.RepositoryProvider.mapExistingProvider(RepositoryProvider.java:235)
at org.eclipse.team.core.RepositoryProvider.getProvider(RepositoryProvider.java:507)
at org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.isMappedToCVS(CVSLightweightDecorator.java:192)
at org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.decorate(CVSLightweightDecorator.java:147)
at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SUBENTRY 1 org.eclipse.team.core 4 0 2012-07-03 19:13:40.792
!MESSAGE Could not instantiate provider org.tigris.subversion.subclipse.core.svnnature for project maven-remote-resources-plugin.
!ENTRY org.eclipse.ui 4 4 2012-07-03 19:14:00.852
!MESSAGE Unable to find Action Set: org.eclipse.rse.core.search.searchActionSet
!ENTRY org.eclipse.ui 4 4 2012-07-03 19:14:00.853
!MESSAGE Unable to find Action Set: com.zend.php.ui.actions.UntitledPHPDocumentActionSet
这一切真正告诉我的是插件还没有加载。
配置日志不会显示缺少的功能/插件,但“已安装的软件”窗格会显示。
迷惑