Multiple dependency chain error for package in same bundle [message #1798656] |
Thu, 22 November 2018 02:53  |
Eclipse User |
|
|
|
When I try to deploy a subsystem which uses camel, I am getting this exception.
AFAIK this will be thrown if same package is being imported from different bundles transitively. That doesn't seem to the case here. javax.net.ssl is being imported from the same bundle in both the scenarios.
Why would this happen?
org.osgi.service.subsystem.SubsystemException: org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource TestComponent.TestComponent [/tmp/inputStreamExtract4777560061446980492.zip/TestComponent-1.0.1-SNAPSHOT.jar] because it is exposed to package 'javax.net.ssl' from resources org.eclipse.osgi [org.eclipse.osgi_3.8.2.v20130124-134944] and org.eclipse.osgi [org.eclipse.osgi_3.8.2.v20130124-134944] via two dependency chains.
Chain 1:
TestComponent.TestComponent [/tmp/inputStreamExtract4777560061446980492.zip/TestComponent-1.0.1-SNAPSHOT.jar]
import: (&(osgi.wiring.package=javax.net.ssl)(version>=0.0.0))
|
export: osgi.wiring.package: javax.net.ssl
org.eclipse.osgi [org.eclipse.osgi_3.8.2.v20130124-134944]
Chain 2:
TestComponent.TestComponent [/tmp/inputStreamExtract4777560061446980492.zip/TestComponent-1.0.1-SNAPSHOT.jar]
import: (&(osgi.wiring.package=org.apache.camel.impl)(version>=2.14.0))
|
export: osgi.wiring.package=org.apache.camel.impl; uses:=javax.net.ssl
org.apache.camel.camel-core [org.apache.camel.camel-core_2.17.4]
import: (&(osgi.wiring.package=javax.net.ssl))
|
export: osgi.wiring.package: javax.net.ssl
org.eclipse.osgi [org.eclipse.osgi_3.8.2.v20130124-134944]
Thanks in advance,
Jaseem
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03431 seconds