5

我的 eclim 安装一直有问题,在 GUI 安装中,系统提示我输入 Eclipse 安装目录。当我输入目录时,我无法继续,输入栏变成红色,下一步按钮不可用。

这是我在 eclim-users Google Groups 页面上发布的帖子的副本(似乎反应迟钝):

我可能在这里遗漏了一些微不足道的东西,但我似乎无法弄清楚出了什么问题。

我目前正在使用 MacVim (7.4) 开发 OS X (El Capitan)。Eclipse.app 安装到 ~/Applications/java-mars,所以我假设这是 eclim 在 GUI 安装中要求的目录;但是,目录栏变成红色并拒绝我继续。

然后我尝试从 git 克隆并使用 ant 构建 eclim,使用 -Declipse.home=~/Applications/java-mars/Eclipse.app/,但构建失败,说 org.eclipse.core.runtime 不存在。这似乎位于我的 ~/.p2 目录中,但是当我尝试在 Declipse.home 标志中设置该设置时构建失败。

我必须忽略一些琐碎的事情,比如指定错误的目录,但任何帮助我指向正确方向的帮助都将不胜感激。

我最终让 eclim 从源代码编译,设置为我所在位置Declipse.home的目录之一,但现在我似乎无法将其作为我的日志执行:~/.p2org.eclipse.core.runtimeeclimd

!SESSION 2016-01-21 03:09:07.366 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  --launcher.suppressErrors -refresh -application org.eclim.application
Command-line arguments:  --launcher.suppressErrors -debug -clean -refresh -application org.eclim.application

!ENTRY org.eclim 4 0 2016-01-21 03:09:09.335
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclim [94]
  Unresolved requirement: Require-Bundle: org.eclipse.core.filebuffers

        at org.eclipse.osgi.container.Module.start(Module.java:434)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclim.core 4 0 2016-01-21 03:09:09.338
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclim.core [95]
  Unresolved requirement: Require-Bundle: org.eclim
    -> Bundle-SymbolicName: org.eclim; bundle-version="2.5.0"; singleton:="true"
       org.eclim [94]
         Unresolved requirement: Require-Bundle: org.eclipse.core.filebuffers

        at org.eclipse.osgi.container.Module.start(Module.java:434)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclim.jdt 4 0 2016-01-21 03:09:09.339
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclim.jdt [96]
  Unresolved requirement: Require-Bundle: org.apache.ant

        at org.eclipse.osgi.container.Module.start(Module.java:434)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclim.vimplugin 4 0 2016-01-21 03:09:09.339
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclim.vimplugin [97]
  Unresolved requirement: Require-Bundle: org.apache.ant

        at org.eclipse.osgi.container.Module.start(Module.java:434)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.osgi.compatibility.state.nl_ja 2 0 2016-01-21 03:09:12.315
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_ja [323]
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclim 2 0 2016-01-21 03:09:12.315
!MESSAGE Could not resolve module: org.eclim [94]
  Unresolved requirement: Require-Bundle: org.eclipse.core.filebuffers


!ENTRY org.eclipse.osgi.compatibility.state.nl_zh 2 0 2016-01-21 03:09:12.315
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_zh [324]
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclim.jdt 2 0 2016-01-21 03:09:12.316
!MESSAGE Could not resolve module: org.eclim.jdt [96]
  Unresolved requirement: Require-Bundle: org.apache.ant


!ENTRY org.eclim.vimplugin 2 0 2016-01-21 03:09:12.316
!MESSAGE Could not resolve module: org.eclim.vimplugin [97]
  Unresolved requirement: Require-Bundle: org.apache.ant


!ENTRY org.eclim.core 2 0 2016-01-21 03:09:12.316
!MESSAGE Could not resolve module: org.eclim.core [95]
  Unresolved requirement: Require-Bundle: org.eclim
    -> Bundle-SymbolicName: org.eclim; bundle-version="2.5.0"; singleton:="true"
       org.eclim [94]
         Unresolved requirement: Require-Bundle: org.eclipse.core.filebuffers


!ENTRY org.eclipse.osgi 4 0 2016-01-21 03:09:12.316
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.eclim.application" could not be found in the registry. The applications available are: com.jrockit.mc.rcp.application.app, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool.
        at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
        at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
        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(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
4

0 回答 0