Hi,

I am trying to use the DependencyManager in my projects. For this I have 
created a base activator in my framework code that extends 
DependencyActivatorBase and in my bundles the activator extends base activator. 
I added the DependencyManager jar to the startup bundles for Felix and if I use 
the shell console I can see that it is running. Still, when I try to start my 
bundle, I get an error saying NoClassDefFoundError: DependencyActivatorBase.

I looked into the MANIFEST.MF in the DepencyManager jar and it exports 
org.apache.felix.dm. I checked the MANIFEST.MF in my bundle jar and it imports 
org.apache.felix.dm. Everything looks fine to me, but I am obviously doing 
something wrong... any ideas?

HTH,

-Stijn


Felix Remote Shell Console:
============================

-> ps
START LEVEL 2
   ID   State         Level  Name
[   0] [Active     ] [    0] System Bundle (2.0.5)
[   1] [Active     ] [    1] Apache Felix Shell Service (1.4.2)
[   2] [Active     ] [    1] Apache Felix Remote Shell (1.0.4)
[   3] [Active     ] [    1] OSGi R4 Compendium Bundle (4.1.0)
[   4] [Active     ] [    1] Apache Felix Dependency Manager (3.0.0.SNAPSHOT)
[   5] [Active     ] [    2] Apache Felix File Install (3.0.0)
[   6] [Resolved   ] [    1] Planon StijnsModule Server Bundle (201007.0.0.0D)
-> start 6
java.lang.NoClassDefFoundError: org/apache/felix/dm/DependencyActivatorBase
->


Reply via email to