我想在Eclipse PDT中运行PHPUnit测试 - 而MakeGood插件听起来很棒。我遇到了安装问题。
首先,我尝试通过“安装新软件”安装它 - 它似乎正确安装,然后让我重新启动eclipse。但是eclipse不会重启。等了一会儿之后,我试图重启eclipse,但启动画面亮了2秒后消失了。我根本无法打开日食。我读过有关删除.snap文件的内容,但我没有。
我最后删除了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)
答案 0 :(得分:1)
从MakeGood 2.3.0开始,需要使用Eclipse 3.7或更高版本。