[ https://issues.apache.org/jira/browse/FELIX-624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611141#action_12611141 ]
Carsten Ziegeler commented on FELIX-624: ---------------------------------------- Ok, i've updated my test case and it seems to be an SCR problem...however I haven't dug into the code yet. Here's the exception I get when deploying bundle B (after deploying bundle c and a) 07.07.2008 14:48:14.005 *ERROR* [SCR Component Actor] com.cziegeler.test.b [com.c2.Test] Cannot load class used as parameter org.apache.commons.collections.bag.TreeBag (java.lang.ClassNotFoundException: org.apache.commons.collections.bag.TreeBag) java.lang.ClassNotFoundException: org.apache.commons.collections.bag.TreeBag at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1504) at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:358) at org.apache.felix.scr.impl.DependencyManager.getBindingMethod(DependencyManager.java:734) at org.apache.felix.scr.impl.DependencyManager.getBindingMethod(DependencyManager.java:793) at org.apache.felix.scr.impl.DependencyManager.getBindingMethod(DependencyManager.java:793) at org.apache.felix.scr.impl.DependencyManager.invokeBindMethod(DependencyManager.java:827) at org.apache.felix.scr.impl.DependencyManager.bind(DependencyManager.java:651) at org.apache.felix.scr.impl.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:203) at org.apache.felix.scr.impl.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:133) at org.apache.felix.scr.impl.AbstractComponentManager.activateInternal(AbstractComponentManager.java:476) at org.apache.felix.scr.impl.AbstractComponentManager.enableInternal(AbstractComponentManager.java:398) at org.apache.felix.scr.impl.AbstractComponentManager.access$000(AbstractComponentManager.java:36) at org.apache.felix.scr.impl.AbstractComponentManager$1.run(AbstractComponentManager.java:99) at org.apache.felix.scr.impl.ComponentActorThread.run(ComponentActorThread.java:85) 07.07.2008 14:48:14.006 *ERROR* [SCR Component Actor] com.cziegeler.test.b [com.c2.Test] bind() method not found > Import statement incomplete when inheriting from an abstract class from > another bundle > -------------------------------------------------------------------------------------- > > Key: FELIX-624 > URL: https://issues.apache.org/jira/browse/FELIX-624 > Project: Felix > Issue Type: Bug > Components: Declarative Services (SCR) > Affects Versions: scr-1.0.2 > Reporter: Carsten Ziegeler > > I have two bundles: > Bundle a exporting an abstract class which has a reference to another class > (in my test scenario to a class from commons-collections) > Bundle b has a class inheriting from the abstract class from Bundle a > The import package statement in Bundle b does not include the > commons-collections class which results in class not found exceptions > when bundle b is started. > This might either be a buig in the maven-bundle-plugin or the used bnd > version. > I'll add a simple test case -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.