Eclim with macvim issue

116 views
Skip to first unread message

失落的shen

unread,
Jul 20, 2009, 3:20:23 AM7/20/09
to eclim-user
i develop java with macvim7.2 and eclipse3.5, when i run eclimd, it
seemd all right, no errors, but after i open macvim and
type :PingEclim it doesn't work, it shows something wrong like no
command ping found. and i try to open an eclipse, click window-show-
other-eclim-eclimd , it worked and macvim worked with eclim too. i
dont know its a macvim bug or eclim.
i really wanna got eclim run on my mac, so i hope somebody could solve
my problem.

Eric Van Dewoestine

unread,
Jul 20, 2009, 10:25:32 AM7/20/09
to eclim...@googlegroups.com

A couple things you can try to narrow down the issue:
1. run :EcimValidate from within macvim. This will print "Result: OK,
required settings are valid." if your vim version and configured
options meet the minimum requirements, or it will notify you where
it didn't. If you get a "not an editor command: EclimValidate",
then see #2 below.
2. make sure that your vim runtime path includes the eclim vim files.
Run :echo &rtp and you should see two paths at the end that look
like: <home_dir>/.vim/eclim,<home_dir>/.vim/eclim/after

Let me know if those help you narrow down the issue or not. If not,
then please send me the output and we'll dig a little further to find
the issue.

--
eric

失落的shen

unread,
Jul 20, 2009, 10:47:28 AM7/20/09
to eclim-user
all things seemd ok, for first step i get Result: OK,required settings
are valid.
and eclim was in vim runtime path, i can start an eclipse with eclim
works well,
but i cannot get the headless eclim work.
here is the output of eclimd, i think it may be a little helpful,

"/Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse"
-debug -nosplash -clean -refresh
-application org.eclim.application_headless
-vmargs
Start VM: -XX:MaxPermSize=256m
-Djava.class.path=/Applications/Eclipse/Eclipse.app/Contents/
MacOS/../../../plugins/
org.eclipse.equinox.launcher_1.0.200.v20090520.jar
-os macosx
-ws cocoa
-arch x86
-launcher /Applications/Eclipse/Eclipse.app/Contents/MacOS/eclipse
-name Eclipse
--launcher.library /Applications/Eclipse/Eclipse.app/Contents/
MacOS//../../../plugins/
org.eclipse.equinox.launcher.cocoa.macosx_1.0.0.v20090519/
eclipse_1206.so
-startup /Applications/Eclipse/Eclipse.app/Contents/MacOS/../../../
plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
-product org.eclipse.epp.package.java.product
-debug
-clean
-refresh
-application org.eclim.application_headless
-vm /System/Library/Frameworks/JavaVM.framework
-vmargs
-XX:MaxPermSize=256m
-Djava.class.path=/Applications/Eclipse/Eclipse.app/Contents/
MacOS/../../../plugins/
org.eclipse.equinox.launcher_1.0.200.v20090520.jar
Install location:
file:/Applications/Eclipse/
Configuration file:
file:/Applications/Eclipse/configuration/config.ini loaded
Configuration location:
file:/Applications/Eclipse/configuration/
Framework located:
file:/Applications/Eclipse/plugins/
org.eclipse.osgi_3.5.0.v20090520.jar
Loading extension: reference:file:../dropins/eclipse/plugins/
org.eclipse.osgi.nl_zh_3.5.0.v20090620043401.jar
eclipse.properties not found
Framework classpath:
file:/Applications/Eclipse/plugins/
org.eclipse.osgi_3.5.0.v20090520.jar
file:/Applications/Eclipse/plugins/
file:/Applications/Eclipse/plugins/../dropins/eclipse/plugins/
org.eclipse.osgi.nl_zh_3.5.0.v20090620043401.jar
Debug options:
file:/Applications/Eclipse/Eclipse.app/Contents/MacOS/.options not
found
Time to load bundles: 110
Starting application: 12724
2009-07-20 22:39:18,995 INFO
[org.eclim.eclipse.AbstractEclimApplication] Starting eclim...
Application Started: 16773
2009-07-20 22:39:21,332 INFO
[org.eclim.eclipse.AbstractEclimApplication] Loading plugin org.eclim
2009-07-20 22:39:21,462 INFO
[org.eclim.eclipse.AbstractEclimApplication] Loading plugin
org.eclim.core
2009-07-20 22:39:31,483 INFO
[org.eclim.eclipse.AbstractEclimApplication] Loaded plugin
org.eclim.core
2009-07-20 22:39:31,491 INFO
[org.eclim.eclipse.AbstractEclimApplication] Eclim Server Started on
port 9091.

Eric Van Dewoestine

unread,
Jul 20, 2009, 10:57:10 AM7/20/09
to eclim...@googlegroups.com

Can you ping eclim from the command line?

$ /Applications/Eclipse/eclim -command ping

When you run :PingEclim from macvim, what is the exact error? Is it
error "E492" or some other error?

--
eric

jayklx

unread,
Jul 20, 2009, 11:05:37 AM7/20/09
to eclim...@googlegroups.com
when i have no eclimd runned, type :PingEclim in macvim, i get "unable
to connect to eclimd - connect: Connection refused;
when i run eclimd, i get another error "java.lang.RuntimeException:No
command 'ping' found while executing command: -command ping
i think macvim have already connect to eclim.
i also try to ping eclim from command line, and get this
No command 'ping' found.
at org.eclim.command.Options.parse(Options.java:150)
at org.eclim.command.Main.main(Main.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.martiansoftware.nailgun.NGSession.run(NGSession.java:332)在

失落的shen

unread,
Jul 20, 2009, 11:06:58 AM7/20/09
to eclim-user
when i have no eclimd runned, type :PingEclim in macvim, i get "unable
to connect to eclimd - connect: Connection refused;
when i run eclimd, i get another error "java.lang.RuntimeException:No
command 'ping' found while executing command: -command ping
i think macvim have already connect to eclim.
i also try to ping eclim from command line, and get this
No command 'ping' found.
at org.eclim.command.Options.parse(Options.java:150)
at org.eclim.command.Main.main(Main.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.martiansoftware.nailgun.NGSession.run(NGSession.java:332

Eric Van Dewoestine

unread,
Jul 20, 2009, 11:14:59 AM7/20/09
to eclim...@googlegroups.com
2009/7/20 jayklx <jay...@gmail.com>:

>
> when i have no eclimd runned, type :PingEclim in macvim, i get "unable
> to connect to eclimd - connect: Connection refused;
> when i run eclimd, i get another error "java.lang.RuntimeException:No
> command 'ping' found while executing command: -command ping
> i think macvim have already connect to eclim.
> i also try to ping eclim from command line, and get this
> No command 'ping' found.
> at org.eclim.command.Options.parse(Options.java:150)
> at org.eclim.command.Main.main(Main.java:72)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
> 25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at com.martiansoftware.nailgun.NGSession.run(NGSession.java:332)在
> 2009-7-20,下午10:47, 失落的shen 写道:

Ah, I see. That rules out any issue on the macvim side. It's
definitely an issue running eclimd. It would seem that although the
process starts up, the bundles are not properly loading.

Can you please do the following:

1. shutdown and eclipse or eclimd process running
2. delete the file ~/workspace/.metadata/.log
3. start the eclimd headless process.
4. post the contents of ~/workspace/.metadata/.log

--
eric

失落的shen

unread,
Jul 20, 2009, 11:25:49 AM7/20/09
to eclim-user
i do the followings, but i can't find any .log file....

Eric Van Dewoestine

unread,
Jul 20, 2009, 11:33:04 AM7/20/09
to eclim...@googlegroups.com
>> 1. shutdown any eclipse or eclimd process running

>> 2. delete the file ~/workspace/.metadata/.log
>> 3. start the eclimd headless process.
>> 4. post the contents of ~/workspace/.metadata/.log
>>
>> --
>> eric


Perhaps your eclipse workspace is located somewhere else? By default
it should be in your home directory.

--
eric

失落的shen

unread,
Jul 20, 2009, 11:38:58 AM7/20/09
to eclim-user
i means that i have deleted the .log file, but after i run eclimd
again, there still no .log file.

失落的shen

unread,
Jul 20, 2009, 11:42:35 AM7/20/09
to eclim-user
i run an eclipse, then open eclimd view in eclipse,and get a .log here

!SESSION 2009-07-20 23:39:49.330
-----------------------------------------------
eclipse.buildId=I20090611-1540
java.version=1.5.0_19
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product -
keyring /Users/jayklx/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86 -product
org.eclipse.epp.package.java.product -keyring /Users/
jayklx/.eclipse_keyring -showlocation

!ENTRY org.eclipse.core.resources 2 10035 2009-07-20 23:39:54.134
!MESSAGE The workspace exited with unsaved changes in the previous
session; refreshing workspace to recover changes.

!ENTRY org.eclipse.core.net 1 0 2009-07-20 23:40:00.847
!MESSAGE System property http.nonProxyHosts has been set to local|
*.local|169.254/16|*.169.254/16 by an external source. This value will
be overwritten using the values from the preferences

!ENTRY org.eclipse.equinox.p2.metadata.repository 4 1000 2009-07-20
23:40:16.142
!MESSAGE No repository found at file:/Applications/Eclipse/
configuration/org.eclipse.osgi/bundles/136/data/listener_1925729951/.

it seems there are nothing relate to eclim..

Eric Van Dewoestine

unread,
Jul 20, 2009, 1:06:03 PM7/20/09
to eclim...@googlegroups.com

Well, then I suppose the next step is to add a bunch of logging to the
eclim loading process, give you the updated code, and then have you
run that. Unfortunately I can't do that until later today. When I
get home tonight, I'll send you a couple updated jar files and we can
proceed from there.

Thank you for your patience so far in debugging this problem.

--
eric

失落のshen

unread,
Jul 20, 2009, 3:04:19 PM7/20/09
to eclim...@googlegroups.com
I'll waiting for your patch ,thanks for your help

2009/7/21, Eric Van Dewoestine <erva...@gmail.com>:
--
失落の神

Eric Van Dewoestine

unread,
Jul 20, 2009, 9:55:30 PM7/20/09
to eclim...@googlegroups.com
2009/7/20 失落のshen <jay...@gmail.com>:

Attached is an updated eclim.jar file. Download the file and put it
in your $ECLIPSE_HOME/plugins/org.eclim_1.5.1/ directory, replacing
the old one.

Then open up $ECLIPSE_HOME/plugins/org.eclim_1.5.1/log4j.xml and
change the org.eclim logger level from "info" to "debug" (line 70):

<logger name="org.eclim">
<level value="debug"/>
</logger>

After you've done that, try starting the headless eclimd again and
post the output.

--
eric

eclim.jar

失落のshen

unread,
Jul 20, 2009, 11:04:44 PM7/20/09
to eclim...@googlegroups.com

i get an error
here's the output and log file contents


"/Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse"
  -debug -nosplash -clean -refresh
  -application org.eclim.application_headless
  -vmargs 
Start VM: -XX:MaxPermSize=256m
-Djava.class.path=/Applications/Eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar

-os macosx
-ws cocoa
-arch x86

-launcher /Applications/Eclipse/Eclipse.app/Contents/MacOS/eclipse
-name Eclipse
--launcher.library /Applications/Eclipse/Eclipse.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx_1.0.0.v20090519/eclipse_1206.so
-startup /Applications/Eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
-product org.eclipse.epp.package.java.product
-debug
-clean
-refresh
-application org.eclim.application_headless
-vm /System/Library/Frameworks/JavaVM.framework
-vmargs
-XX:MaxPermSize=256m
-Djava.class.path=/Applications/Eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
Install location:
    file:/Applications/Eclipse/
Configuration file:
    file:/Applications/Eclipse/configuration/config.ini loaded
Configuration location:
    file:/Applications/Eclipse/configuration/
Framework located:
    file:/Applications/Eclipse/plugins/org.eclipse.osgi_3.5.0.v20090520.jar

Framework classpath:
    file:/Applications/Eclipse/plugins/org.eclipse.osgi_3.5.0.v20090520.jar


Debug options:
    file:/Applications/Eclipse/Eclipse.app/Contents/MacOS/.options not found

Time to load bundles: 73
Starting application: 339


See the log file
/Applications/Eclipse/configuration/1248145178569.log.


!SESSION 2009-07-21 10:54:01.214 -----------------------------------------------


eclipse.buildId=I20090611-1540
java.version=1.5.0_19
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US

Framework arguments:  -product org.eclipse.epp.package.java.product -refresh -application org.eclim.application_headless
Command-line arguments:  -os macosx -ws cocoa -arch x86 -product org.eclipse.epp.package.java.product -debug -clean -refresh -application org.eclim.application_headless

!ENTRY org.eclipse.osgi 2 0 2009-07-21 10:54:07.225
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-07-21 10:54:07.225
!MESSAGE Bundle org.eclipse.jdt.apt.pluggable.core_1.0.200.v20090526-2130 [125] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2009-07-21 10:54:07.225
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2009-07-21 10:54:07.225
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2009-07-21 10:54:07.225
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2009-07-21 10:54:07.225
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-07-21 10:54:07.225
!MESSAGE Bundle org.eclipse.jdt.compiler.apt_1.0.200.v20090528-1135 [127] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2009-07-21 10:54:07.225
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-07-21 10:54:07.225
!MESSAGE Bundle org.eclipse.jdt.compiler.tool_1.0.100.v_963 [128] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2009-07-21 10:54:07.225
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6

!ENTRY org.eclipse.osgi 2 0 2009-07-21 10:54:07.297
!MESSAGE The activator org.eclim.eclipse.EclimPlugin for bundle org.eclim is invalid
!STACK 0
org.osgi.framework.BundleException: The activator org.eclim.eclipse.EclimPlugin for bundle org.eclim is invalid
 at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:157)
 at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:750)
 at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
 at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
 at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
 at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:238)
 at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
 at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
 at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
 at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
 at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:189)
 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:368)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: java.lang.ClassNotFoundException: org.eclim.eclipse.EclimPlugin
 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489)
 at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405)
 at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393)
 at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
 at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:321)
 at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
 at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:150)
 ... 22 more
Root exception:
java.lang.ClassNotFoundException: org.eclim.eclipse.EclimPlugin
 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489)
 at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405)
 at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393)
 at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
 at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:321)
 at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
 at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:150)
 at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:750)
 at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
 at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
 at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
 at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:238)
 at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
 at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
 at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
 at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
 at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:189)
 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:368)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

!ENTRY org.eclipse.osgi 4 0 2009-07-21 10:54:07.300
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in org.eclim was unable to load class org.eclim.eclipse.EclimApplicationHeadless.
 at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)
 at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:162)
 at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
 at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
 at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:189)
 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:368)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: java.lang.ClassNotFoundException: org.eclim.eclipse.EclimApplicationHeadless
 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489)
 at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405)
 at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393)
 at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
 at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:321)
 at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
 at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
 at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
 ... 15 more

!ENTRY org.eclipse.osgi 2 0 2009-07-21 10:54:07.321
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-07-21 10:54:07.321
!MESSAGE Bundle org.eclipse.jdt.apt.pluggable.core_1.0.200.v20090526-2130 [125] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2009-07-21 10:54:07.321
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2009-07-21 10:54:07.321
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2009-07-21 10:54:07.321
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2009-07-21 10:54:07.321
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-07-21 10:54:07.321
!MESSAGE Bundle org.eclipse.jdt.compiler.apt_1.0.200.v20090528-1135 [127] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2009-07-21 10:54:07.321
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-07-21 10:54:07.321
!MESSAGE Bundle org.eclipse.jdt.compiler.tool_1.0.100.v_963 [128] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2009-07-21 10:54:07.321
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6


2009/7/21 Eric Van Dewoestine <erva...@gmail.com>

--
eric


--
失落の神

Eric Van Dewoestine

unread,
Jul 21, 2009, 1:00:58 AM7/21/09
to eclim...@googlegroups.com
2009/7/20 失落のshen <jay...@gmail.com>:

> i get an error
> here's the output and log file contents
>
> ... snip ...
> Caused by: java.lang.ClassNotFoundException: org.eclim.eclipse.EclimPlugin
> ... snip ...
> Caused by: java.lang.ClassNotFoundException:
> org.eclim.eclipse.EclimApplicationHeadless
> ... snip ...

What is the output of:

$ ls -l /Applications/Eclipse/plugins/org.eclim_1.5.1/

--
eric

失落のshen

unread,
Jul 21, 2009, 4:05:05 AM7/21/09
to eclim...@googlegroups.com
drwxr-xr-x   4 jayklx  admin      136  7 21 10:49 META-INF
-rw-r--r--   1 jayklx  admin     2125  7 19 00:22 about.html
drwxr-xr-x   8 jayklx  admin      272  7 19 15:55 bin
-rw-r--r--   1 jayklx  admin  3981845  7 19 00:24 doc.zip
-rw-r--r--   1 jayklx  admin     6978  7 19 00:22 eclim-misc.jar
-rwxrwxrwx   1 jayklx  admin    58143  7 21 10:46 eclim.jar
drwxr-xr-x  12 jayklx  admin      408  7 19 15:55 lib
drwxr-xr-x   4 jayklx  admin      136  7 19 15:55 log
-rw-r--r--@  1 jayklx  admin     2777  7 21 11:12 log4j.xml
-rw-r--r--   1 jayklx  admin       45  7 19 00:22 plugin.properties
-rw-r--r--   1 jayklx  admin     1853  7 19 00:22 plugin.xml
drwxr-xr-x   3 jayklx  admin      102  7 19 15:55 resources
drwxr-xr-x   3 jayklx  admin      102  7 19 15:55 src
-rw-r--r--   1 jayklx  admin   459187  7 19 00:24 src.zip

i just replace eclim.jar, then the error occur.

2009/7/21 Eric Van Dewoestine <erva...@gmail.com>

2009/7/20 失落のshen <jay...@gmail.com>:



--
失落の神

失落のshen

unread,
Jul 21, 2009, 5:59:39 AM7/21/09
to eclim...@googlegroups.com
i download eclim.jar again, previous one was 57k, this one is 64k, i replace it again, now eclim worked very well,
here's the commandline output,thanks for your great job~~~really really thank you very much.

/Applications/Eclipse/eclimd
"/Applications/Eclipse/Eclipse.app/Contents/MacOS/eclipse"
Time to load bundles: 72
Starting application: 4243
2009-07-21 17:56:55,594 DEBUG [org.eclim.eclipse.AbstractEclimApplication] workspace: /Users/jayklx/Documents/workspace
2009-07-21 17:56:55,599 INFO  [org.eclim.eclipse.AbstractEclimApplication] Starting eclim...
Application Started: 5474
2009-07-21 17:56:56,497 INFO  [org.eclim.eclipse.AbstractEclimApplication] Loading plugin org.eclim
2009-07-21 17:56:56,530 INFO  [org.eclim.eclipse.AbstractEclimApplication] Loading plugin org.eclim.core
2009-07-21 17:56:56,535 DEBUG [org.eclim.plugin.Plugin] enter: start - org.eclim.core
2009-07-21 17:56:56,540 DEBUG [org.eclim.plugin.Plugin] bundleChanged: active - org.eclim.core
2009-07-21 17:56:56,541 DEBUG [org.eclim.plugin.Plugin] enter: activate - org.eclim.core
2009-07-21 17:56:56,701 INFO  [org.eclim.plugin.core.CorePlugin] Loading eclim plugins...
2009-07-21 17:56:56,703 INFO  [org.eclim.plugin.core.CorePlugin] Loading plugin org.eclim.ant
2009-07-21 17:56:56,704 DEBUG [org.eclim.plugin.Plugin] enter: start - org.eclim.ant
2009-07-21 17:56:56,704 INFO  [org.eclim.plugin.core.CorePlugin] Loading plugin org.eclim.jdt
2009-07-21 17:56:56,706 DEBUG [org.eclim.plugin.Plugin] enter: start - org.eclim.jdt
2009-07-21 17:56:56,707 INFO  [org.eclim.plugin.core.CorePlugin] Plugins loaded.
2009-07-21 17:56:56,707 INFO  [org.eclim.eclipse.AbstractEclimApplication] Loaded plugin org.eclim.core
2009-07-21 17:56:56,707 DEBUG [org.eclim.plugin.Plugin] bundleChanged: active - org.eclim.ant
2009-07-21 17:56:56,707 DEBUG [org.eclim.plugin.Plugin] enter: activate - org.eclim.ant
2009-07-21 17:56:56,709 INFO  [org.eclim.eclipse.AbstractEclimApplication] Eclim Server Started on port 9091.
2009-07-21 17:56:56,720 DEBUG [org.eclim.plugin.Plugin] bundleChanged: active - org.eclim.jdt
2009-07-21 17:56:56,721 DEBUG [org.eclim.plugin.Plugin] enter: activate - org.eclim.jdt
2009-07-21 17:56:57,112 DEBUG [org.eclim.plugin.jdt.PluginResources] Initializing java environment
2009-07-21 17:57:03,330 DEBUG [org.eclim.plugin.jdt.PluginResources] Loading classpath variables from '/resources/classpath_variables.properties'.
2009-07-21 17:57:03,340 DEBUG [org.eclim.plugin.jdt.PluginResources] Setting classpath variable 'USER_HOME' to path '/Users/jayklx'
2009-07-21 17:57:26,749 DEBUG [org.eclim.command.Main] args: [-Dvim.files=/Users/jayklx/.vim, -command, ping]
2009-07-21 17:57:26,948 DEBUG [org.eclim.command.Main] Main - command: ping
2009-07-21 17:57:45,772 DEBUG [org.eclim.command.Main] args: [-Dvim.files=/Users/jayklx/.vim, -command, ping]
2009-07-21 17:57:45,772 DEBUG [org.eclim.command.Main] Main - command: ping



2009/7/21 失落のshen <jay...@gmail.com>



--
失落の神

Eric Van Dewoestine

unread,
Jul 21, 2009, 10:24:43 AM7/21/09
to eclim...@googlegroups.com
2009/7/21 失落のshen <jay...@gmail.com>:

Ah, very nice. It looks like eclimd is starting and running fine now.
Hmm, I do still wonder why eclimd wasn't working before I sent you the
jar. If the issue re-occurs, please let me know.

Thank you for your patience and for sticking with it.

--
eric

失落のshen

unread,
Jul 21, 2009, 11:00:37 AM7/21/09
to eclim...@googlegroups.com
Of cause, if i find any bugs,i will post it here

2009/7/21, Eric Van Dewoestine <erva...@gmail.com>:
>
--
失落の神
Reply all
Reply to author
Forward
0 new messages