[JBoss OSGi Development] - Package cannot have two exporters
by thomas.diesler@jboss.com
Still working on the SimpleLogServiceTestCase
When I add the PackageRequirement regardless of whether it is also part of the exports I get
| 2009-08-24 23:22:47,038 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController:1141] Error resolving dependencies for ClassLoader: name=vfszip:/home/tdiesler/svn/jboss-osgi/trunk/reactor/runtime/microcontainer/target/test-libs/bundles/org.apache.felix.log.jar/ state=Describe mode=Manual requiredState=Installed
| java.lang.IllegalStateException: VFSDeploymentClassLoaderPolicyModule org.apache.felix.log:1.1.0.SNAPSHOT cannot be added because it is exports package org.osgi.service.log which conflicts with VFSDeploymentClassLoaderPolicyModule osgi.cmpn:4.2.0.200907101024
| at org.jboss.classloading.spi.dependency.ClassLoadingSpace.join(ClassLoadingSpace.java:223)
| at org.jboss.classloading.spi.dependency.ClassLoadingSpace.joinAndResolve(ClassLoadingSpace.java:120)
| at org.jboss.classloading.spi.dependency.ClassLoadingSpace.joinAndResolve(ClassLoadingSpace.java:169)
| at org.jboss.classloading.spi.dependency.ClassLoadingSpace.resolve(ClassLoadingSpace.java:326)
| at org.jboss.classloading.spi.dependency.Module.resolveModule(Module.java:909)
| at org.jboss.classloading.spi.dependency.RequirementDependencyItem.resolve(RequirementDependencyItem.java:91)
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251308#4251308
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251308