Hello,

I am using pax-web-extender-whiteboard to host our web application in 
equinox and i see some split dependency chain errors when starting up my 
env:
This one is caused by org.osgi.service.http.runtime.dto being exported by 
both org.ops4j.pax.web.pax-web-api and org.eclipse.osgi.services
RESOLVER: Candidate permutation failed due to a conflict between imports; 
will try another if possible. (Uses constraint violation. Unable to resolve 
resource org.ops4j.pax.web.pax-web-extender-whiteboard [osgi.identity; 
osgi.identity="org.ops4j.pax.web.pax-web-extender-whiteboard"; 
type="osgi.bundle"; version:Version="7.2.0"] because it is exposed to 
package 'org.osgi.service.http.runtime.dto' from resources 
org.ops4j.pax.web.pax-web-api [osgi.identity; 
osgi.identity="org.ops4j.pax.web.pax-web-api"; type="osgi.bundle"; 
version:Version="7.2.0"] and org.eclipse.osgi.services [osgi.identity; 
osgi.identity="org.eclipse.osgi.services"; type="osgi.bundle"; 
version:Version="3.6.0.v20170228-1906"] via two dependency chains.

Chain 1:
  org.ops4j.pax.web.pax-web-extender-whiteboard [osgi.identity; 
osgi.identity="org.ops4j.pax.web.pax-web-extender-whiteboard"; 
type="osgi.bundle"; version:Version="7.2.0"]
    import: 
(&(osgi.wiring.package=org.osgi.service.http.runtime.dto)(&(version>=1.0.0)(!(version>=2.0.0))))
     |
    export: osgi.wiring.package: org.osgi.service.http.runtime.dto
  org.ops4j.pax.web.pax-web-api [osgi.identity; 
osgi.identity="org.ops4j.pax.web.pax-web-api"; type="osgi.bundle"; 
version:Version="7.2.0"]

Chain 2:
  org.ops4j.pax.web.pax-web-extender-whiteboard [osgi.identity; 
osgi.identity="org.ops4j.pax.web.pax-web-extender-whiteboard"; 
type="osgi.bundle"; version:Version="7.2.0"]
    import: 
(&(osgi.wiring.package=org.osgi.service.http.runtime)(&(version>=1.0.0)(!(version>=2.0.0))))
     |
    export: osgi.wiring.package: org.osgi.service.http.runtime; 
uses:=org.osgi.service.http.runtime.dto
    export: osgi.wiring.package=org.osgi.service.http.runtime.dto
  org.eclipse.osgi.services [osgi.identity; 
osgi.identity="org.eclipse.osgi.services"; type="osgi.bundle"; 
version:Version="3.6.0.v20170228-1906"])

Not sure what i should do about this since pax-web-api is used heavily by 
other pax-web bundles and org.eclipse.osgi.services is the super bundle 
that provides many packages from osgi specs (cm, http, component,...)

Does anyone has a suggestion ?

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to