I have a desktop machine installed with the RHEL server. I have
eclipse 3.7, java 1.6.0_25, and vim 7.3 installed. I followed
http://eclim.org/guides/install.html to install eclim, everything goes
pretty fine during the booting process. But when I tried to launch to
eclimd daemon, it couldn't start due to some errors. The error
messages printed to log file is pasted here. How could I fix that
please? thanks.
One thing I should mention is that initially eclipse can't find the
right JVM to boot, so I added "-vm path_to_jre_bin" in the eclipse.ini
file. After that, eclipse starts GUI without any problem.
Error Logs:
==============================================================================
!SESSION 2011-10-30 23:57:17.757
-----------------------------------------------
eclipse.buildId=M20110909-1335
java.version=1.6.0_25
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -refresh -application
org.eclim.application_headless
Command-line arguments: -debug -clean -refresh -application
org.eclim.application_headless
!ENTRY org.eclipse.osgi 2 0 2011-10-30 23:57:23.576
!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 2011-10-30 23:57:23.576
!MESSAGE Bundle
org.eclipse.core.filesystem.linux.x86_64_1.2.0.v20110423-0524 [61] was
not resolved.
!SUBENTRY 2 org.eclipse.core.filesystem.linux.x86_64 2 0 2011-10-30
23:57:23.577
!MESSAGE Platform filter did not match: (& (osgi.os=linux)
(osgi.arch=x86_64))
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-10-30 23:57:23.577
!MESSAGE Bundle org.eclipse.core.net.linux.x86_64_1.1.0.I20110331-0827
[64] was not resolved.
!SUBENTRY 2 org.eclipse.core.net.linux.x86_64 2 0 2011-10-30
23:57:23.577
!MESSAGE Platform filter did not match: (& (osgi.os=linux)
(osgi.arch=x86_64))
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-10-30 23:57:23.577
!MESSAGE Bundle
org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505 [144]
was not resolved.
!SUBENTRY 2 org.eclipse.equinox.launcher.gtk.linux.x86_64 2 0
2011-10-30 23:57:23.577
!MESSAGE Platform filter did not match: (& (
osgi.ws=gtk)
(osgi.os=linux) (osgi.arch=x86_64))
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-10-30 23:57:23.577
!MESSAGE Bundle org.eclipse.swt.gtk.linux.x86_64_3.7.1.v3738a [283]
was not resolved.
!SUBENTRY 2 org.eclipse.swt.gtk.linux.x86_64 2 0 2011-10-30
23:57:23.577
!MESSAGE Platform filter did not match: (& (
osgi.ws=gtk)
(osgi.os=linux) (osgi.arch=x86_64))
!ENTRY org.eclipse.osgi 2 0 2011-10-30 23:57:23.751
!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 2011-10-30 23:57:23.751
!MESSAGE Bundle
org.eclipse.core.filesystem.linux.x86_64_1.2.0.v20110423-0524 [61] was
not resolved.
!SUBENTRY 2 org.eclipse.core.filesystem.linux.x86_64 2 0 2011-10-30
23:57:23.751
!MESSAGE Platform filter did not match: (& (osgi.os=linux)
(osgi.arch=x86_64))
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-10-30 23:57:23.751
!MESSAGE Bundle org.eclipse.core.net.linux.x86_64_1.1.0.I20110331-0827
[64] was not resolved.
!SUBENTRY 2 org.eclipse.core.net.linux.x86_64 2 0 2011-10-30
23:57:23.751
!MESSAGE Platform filter did not match: (& (osgi.os=linux)
(osgi.arch=x86_64))
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-10-30 23:57:23.751
!MESSAGE Bundle
org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505 [144]
was not resolved.
!SUBENTRY 2 org.eclipse.equinox.launcher.gtk.linux.x86_64 2 0
2011-10-30 23:57:23.751
!MESSAGE Platform filter did not match: (& (
osgi.ws=gtk)
(osgi.os=linux) (osgi.arch=x86_64))
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-10-30 23:57:23.751
!MESSAGE Bundle org.eclipse.swt.gtk.linux.x86_64_3.7.1.v3738a [283]
was not resolved.
!SUBENTRY 2 org.eclipse.swt.gtk.linux.x86_64 2 0 2011-10-30
23:57:23.751
!MESSAGE Platform filter did not match: (& (
osgi.ws=gtk)
(osgi.os=linux) (osgi.arch=x86_64))
!ENTRY org.eclipse.osgi 4 0 2011-10-30 23:57:23.751
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in "org.eclim" was unable
to instantiate class "org.eclim.eclipse.EclimApplicationHeadless".
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:
194)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:
188)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:
905)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:
243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:
55)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
191)
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:
344)
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:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:
622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/
Display
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:
2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:
184)
... 16 more
Caused by: java.lang.ClassNotFoundException:
org.eclipse.swt.widgets.Display
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:
513)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
429)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:
107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 22 more
!ENTRY org.eclipse.osgi 2 0 2011-10-30 23:57:23.768
!MESSAGE Info: cycle(s) found while stopping bundles:
[[ch.qos.logback.classic,org.eclipse.m2e.logback.appender,org.slf4j.api,ch.qos.logback.slf4j,org.jboss.netty,com.ning.async-
http-
client,org.eclipse.m2e.maven.runtime,org.eclipse.m2e.archetype.common,org.eclipse.m2e.maven.indexer,org.eclipse.m2e.core,org.eclipse.m2e.core.ui]].