I am trying to run a simple test bundle, which uses Eclipselink on Apache
Felix, however due to dependencies I had to install the bundle
org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar, because I got the error:
java.lang.NoClassDefFoundError:
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader
however when I install the bundle
org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar
I got the following error:
ERROR: Error starting
file:bundle/thirdparty/eclipselink/org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar
(org.osgi.framework.BundleException: Activator start error in bundle
org.eclipse.osgi [10].)
java.lang.ClassCastException:
org.eclipse.osgi.framework.internal.core.SystemBundleActivator cannot be
cast to org.osgi.framework.BundleActivator
at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:3350)
It seems that eclipselink runs only on Eclipse equinox? Can anybody
confirm that?