Equinox java.lang.NoClassDefFoundError
I am running a very simple osgi bundle whose activator looks like this public void start(BundleContext bundleContext) throws Exception { JAXBContext con = JAXBContext.newInstance(Activator.class); } This always throws exception org.osgi.framework.BundleException: Exception in com.test.bundle.Activator.start() of bundle com.test.bundle. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683) at org.eclipse.osgi.framework.internal.core.BundleHost