Maybe I'm doing something wrong .... I'm trying to use the
maven-osgi-plugin to bundle a jar in maven and add an activator to set some
preferences.  After adding to an Eclipse RCP project, I get a CNFE for the
org.eclipse.core.runtime.Plugin when the activator tries to run:

Caused by: java.lang.NoClassDefFoundError: org/eclipse/core/runtime/Plugin

I was guessing this is an import issue, but that looks fine:

Import-Package: javax.swing,org.eclipse.core.runtime;common=split;vers
 ion="3.4",org.eclipse.core.runtime.preferences;version="3.3",org.osgi.fra
 mework;version="1.6"

If I use Embed-Dependency for the eclipse jars, everything works fine.  Is
there something I should know about Eclipse dependencies?

Also, I used eclipse:to-maven to make a maven repo of all Eclipse 3.7.2
RCP/RAP, and this is where my eclipse artifacts get resolved from.

I would be grateful for any help understanding the issue here.

Reply via email to