过去一个月我一直在使用eclim,我很喜欢它。
昨天一切都改变了,现在它不起作用,我机器上唯一改变的是:
Sysadmin安装了一个加密的分区,不会侵占任何eclim或vim安装。
我尝试从不同的工作空间在同一个项目上运行另一个eclipse实例。
Eclim启动,并执行基本功能,我可以PingEclim等..但是当我尝试执行一个保存操作时,它可能会运行一些java组件失败,
从启动eclim到错误的输出如下:
java -jar "/home/user/dev/apps/eclipse/plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar" -debug -clean -refresh -application org.eclim.application_headless
Install location:
file:/home/user/dev/apps/eclipse/
Configuration file:
file:/home/user/dev/apps/eclipse/configuration/config.ini loaded
Configuration location:
file:/home/user/dev/apps/eclipse/configuration/
Framework located:
file:/home/user/dev/apps/eclipse/plugins/org.eclipse.osgi_3.6.2.R36x_v20110210.jar
Framework classpath:
file:/home/user/dev/apps/eclipse/plugins/org.eclipse.osgi_3.6.2.R36x_v20110210.jar
Debug options:
file:/home/user/dev/apps/eclipse/.options not found
Time to load bundles: 57
Starting application: 7989
2011-04-08 15:52:25,102 INFO [org.eclim.eclipse.AbstractEclimApplication] Workspace: /home/user/workspace
2011-04-08 15:52:25,103 INFO [org.eclim.eclipse.AbstractEclimApplication] Starting eclim...
Application Started: 9416
2011-04-08 15:52:26,132 INFO [org.eclim.eclipse.AbstractEclimApplication] Loading plugin org.eclim
2011-04-08 15:52:26,159 INFO [org.eclim.eclipse.AbstractEclimApplication] Loading plugin org.eclim.core
2011-04-08 15:52:26,467 INFO [org.eclim.plugin.core.CorePlugin] Loading eclim plugins...
2011-04-08 15:52:26,473 INFO [org.eclim.plugin.core.CorePlugin] Loading plugin org.eclim.maven
2011-04-08 15:52:26,475 INFO [org.eclim.plugin.core.CorePlugin] Loading plugin org.eclim.ant
2011-04-08 15:52:26,477 INFO [org.eclim.plugin.core.CorePlugin] Loading plugin org.eclim.jdt
2011-04-08 15:52:26,484 INFO [org.eclim.plugin.core.CorePlugin] Plugins loaded.
2011-04-08 15:52:26,485 INFO [org.eclim.eclipse.AbstractEclimApplication] Loaded plugin org.eclim.core
2011-04-08 15:52:26,489 INFO [org.eclim.eclipse.AbstractEclimApplication] Eclim Server Started on port 9091.
2011-04-08 15:52:26,580 WARN [org.eclim.plugin.jdt.PluginResources] Unable to locate jre src.zip for JAVA_HOME: /usr/lib/jvm/java-6-sun-1.6.0.24/jre
NGSession 1: 127.0.0.1: org.eclim.command.Main exited with status 1
NGSession 2: 127.0.0.1: org.eclim.command.Main exited with status 1
NGSession 1: 127.0.0.1: org.eclim.command.Main exited with status 1
错误部分beign:
NGSession 1: 127.0.0.1: org.eclim.command.Main exited with status 1
NGSession 2: 127.0.0.1: org.eclim.command.Main exited with status 1
NGSession 1: 127.0.0.1: org.eclim.command.Main exited with status 1
我已经尝试重新安装eclim并在不同版本的eclipse上尝试过。
如果有人能给我一些关于发生了什么的线索,或者指出我可能会调试的方向,那么它会有所帮助。
答案 0 :(得分:2)
我有完全相同的错误,这是由我的代码文件夹中的.project
文件夹引起的。我在阅读this post之后就开始了。删除.project
文件夹后,eclimd
启动就好了。
当使用带有eclim的emacs时,*Messages*
- 缓冲区可以为您提供有关该进程可能出错的提示,如果在eclimd
启动后出现问题。在vim中它应该是:Messages
,虽然我不确定这一点,因为我不是vim用户。