0

我想在 Eclipse PDT 中运行 PHPUnit 测试 - MakeGood 插件听起来很棒。我在安装时遇到问题。

首先,我尝试通过“安装新软件”安装它——它似乎安装正确,然后让我重新启动 eclipse。但是eclipse不会重新启动。等了一会儿,我尝试重新启动eclipse,但是闪屏出现了2秒然后消失了。我根本无法打开eclipse。我阅读了有关删除 .snap 文件的信息,但我没有。

我最终删除了 eclipse 并重新安装它。我至少现在关闭了用户帐户控制,因为我读到这可能会导致问题。无论如何,我尝试在全新的工作区中的全新 Eclipse 上再次安装 Makegood - 做同样的事情......安装,但无法重新启动。当您尝试手动重新启动时,它会死掉。

这是错误日志的一部分......非常感谢任何帮助......

eclipse.buildId=M20110210-1200
java.version=1.7.0_10
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.php.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.php.product

!ENTRY org.eclipse.ui.workbench 4 2 2013-06-24 04:19:18.443
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NoSuchMethodError: org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version;)I
    at com.piece_framework.makegood.aspect.PDTVersion.<init>(PDTVersion.java:46)
    at com.piece_framework.makegood.aspect.PDTVersion.getInstance(PDTVersion.java:57)
    at com.piece_framework.makegood.aspect.PDTVersionSourceProvider.getCurrentState(PDTVersionSourceProvider.java:35)
    at org.eclipse.ui.internal.services.ExpressionAuthority.addSourceProvider(ExpressionAuthority.java:93)
    at org.eclipse.ui.internal.services.EvaluationService.addSourceProvider(EvaluationService.java:77)
    at org.eclipse.ui.internal.Workbench$57.run(Workbench.java:2342)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.internal.Workbench.startSourceProviders(Workbench.java:2336)
    at org.eclipse.ui.internal.Workbench.access$18(Workbench.java:2321)
    at org.eclipse.ui.internal.Workbench$30.runWithException(Workbench.java:1553)
    at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
4

1 回答 1

1

从 MakeGood 2.3.0 开始,需要 Eclipse 3.7 或更高版本才能工作。

于 2013-06-28T06:21:23.163 回答