处理Virgo中的org.ops4j.pax.logging.pax-logging-service时出错

时间:2014-08-10 22:08:15

标签: cxf eclipse-virgo pax dosgi

我试图让CXF DOSGi在处女座中运行。我使用带有cxf发行版的捆绑列表在Virgo中创建计划。 Virgo无法解析org.ops4j.pax.logging.pax-logging-service上的依赖项。关于如何获得这些捆绑包的任何建议?

Unable to satisfy dependencies of bundle 'org.ops4j.pax.logging.pax-logging-service' at version '1.7.0': Cannot resolve: org.ops4j.pax.logging.pax-logging-service
Resolver report:
    Uses violation: <Import-Package: org.ops4j.pax.logging.slf4j; version="[1.7.0,2.0.0)"> in bundle <org.ops4j.pax.logging.pax-logging-service_1.7.0[1407685751767]>
         Resolver reported uses conflict for import
    Uses violation: <Import-Package: org.eclipse.jetty.security; version="[7.1.0,8.0.0)"> in bundle <org.ops4j.pax.web.pax-web-jetty_1.1.14[1407685751817]>
         Resolver reported uses conflict for import
    Uses violation: <Import-Package: org.eclipse.jetty.security.authentication; version="[7.1.0,8.0.0)"> in bundle <org.ops4j.pax.web.pax-web-jetty_1.1.14[1407685751817]>
         Resolver reported uses conflict for import
    Uses violation: <Import-Package: org.eclipse.jetty.util.resource; version="[7.1.0,8.0.0)"> in bundle <org.ops4j.pax.web.pax-web-jetty_1.1.14[1407685751817]>
         Resolver reported uses conflict for import
    Uses violation: <Import-Package: org.eclipse.jetty.server.ssl; version="[7.1.0,8.0.0)"> in bundle <org.ops4j.pax.web.pax-web-jetty_1.1.14[1407685751817]>
         Resolver reported uses conflict for import
    Uses violation: <Import-Package: org.eclipse.jetty.server.bio; version="[7.1.0,8.0.0)"> in bundle <org.ops4j.pax.web.pax-web-jetty_1.1.14[1407685751817]>
         Resolver reported uses conflict for import
    Uses violation: <Import-Package: org.eclipse.jetty.xml; version="[7.1.0,8.0.0)"> in bundle <org.ops4j.pax.web.pax-web-jetty_1.1.14[1407685751817]>
         Resolver reported uses conflict for import
    Uses violation: <Import-Package: org.eclipse.jetty.util; version="[7.1.0,8.0.0)"> in bundle <org.ops4j.pax.web.pax-web-jetty_1.1.14[1407685751817]>
         Resolver reported uses conflict for import
    Uses violation: <Import-Package: org.eclipse.jetty.server; version="[7.1.0,8.0.0)"> in bundle <org.ops4j.pax.web.pax-web-jetty_1.1.14[1407685751817]>
         Resolver reported uses conflict for import
    Uses violation: <Import-Package: org.eclipse.jetty.util.security; version="[7.1.0,8.0.0)"> in bundle <org.ops4j.pax.web.pax-web-jetty_1.1.14[1407685751817]>
         Resolver reported uses conflict for import
    Uses violation: <Import-Package: org.eclipse.jetty.servlet; version="[7.1.0,8.0.0)"> in bundle <org.ops4j.pax.web.pax-web-jetty_1.1.14[1407685751817]>
         Resolver reported uses conflict for import
    Uses violation: <Import-Package: org.eclipse.jetty.io; version="[7.1.0,8.0.0)"> in bundle <org.ops4j.pax.web.pax-web-jetty_1.1.14[1407685751817]>
         Resolver reported uses conflict for import
    Uses violation: <Import-Package: org.eclipse.jetty.http; version="[7.1.0,8.0.0)"> in bundle <org.ops4j.pax.web.pax-web-jetty_1.1.14[1407685751817]>
         Resolver reported uses conflict for import
    Uses violation: <Import-Package: org.eclipse.jetty.server.nio; version="[7.1.0,8.0.0)"> in bundle <org.ops4j.pax.web.pax-web-jetty_1.1.14[1407685751817]>
         Resolver reported uses conflict for import
    Uses violation: <Import-Package: org.eclipse.jetty.server.handler; version="[7.1.0,8.0.0)"> in bundle <org.ops4j.pax.web.pax-web-jetty_1.1.14[1407685751817]>
         Resolver reported uses conflict for import
    Uses violation: <Import-Package: org.eclipse.jetty.server.session; version="[7.1.0,8.0.0)"> in bundle <org.ops4j.pax.web.pax-web-jetty_1.1.14[1407685751817]>
         Resolver reported uses conflict for import

1 个答案:

答案 0 :(得分:0)

Pax-logging-api版本1.70对org.apache.juli.logging包的导出不正确。它导出为1.0版。这在Pax-logging-api版本1.73中已得到纠正。