0

我正在尝试让 CXF DOSGi 在 Virgo 中运行。我正在使用带有 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
4

1 回答 1

0

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

于 2014-08-12T11:27:06.180 回答