rkmoquin wrote
> It should be imported not exported. 

my bad, i have been importing it and not exporting.


rkmoquin wrote
>  Typically you get a
> NoClassDefFoundError when something error'd out in the class mentioned...
> in this cause you need to see the cause of the exception further down in
> the stack.... maybe your activator isn't in the jar since the package
> isn't
> mentioned in the private section.  If a package isn't mentioned in one of
> the manifest headers, I don't think it get's included in the jar....  can
> you confirm it it there?

When I have only the Activator Entry in the manifest I don't get
NoClassDefFoundError, but when I start exporing the API's in the jar I get
NoClassDefFoundError.
I am unable to understand it and don't think can do unless I dig the code of
karaf.
Let me see if I could share the code as I don't see attachement option here.





--
View this message in context: 
http://karaf.922171.n3.nabble.com/Unable-to-do-load-BundleActivator-after-package-is-exported-in-manifest-for-a-bundle-tp4032661p4032684.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to