Hi
There's something I haven't quite understood yet in OSGI, it seems.
I have two bundles (A and B) and bundle A uses a class from bundle B.
In my pom file of bundle A I specify in the maven-bundle-plugin
...
<import-Package>
javax.xml.bind,
javax.xml.bind.annotation,
javax.xml.bind.annotation.adapters,
com.my.package
...
In the pom file of bundle b I say:
...
<Export-Package>
com.my.package,
...
In karaf I can see with exports / imports that the configuration in the
poms is there.
But when I call my web service (in bundle A) I get:
org.apache.cxf.interceptor.Fault: com/my/package/HospitalServiceType
...
Caused by: java.lang.ClassNotFoundException:
com.my.package.HospitalServiceType not found by <bundle B>
Please enlighten me.
Regards,
Laci