Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-3052

OSGi conflicts for javax.annotation package

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.3
    • None
    • None
    • % %
    • 6.3 Sprint 1 (4-Jan->29-Jan)

      kit 103

      ERROR: Bundle org.apache.camel.camel-cxf [206] Error starting mvn:org.apache.camel/camel-cxf/2.15.0.redhat-620105 (org.osgi.framework.BundleException: Uses constraint violation. Unable to resolve bundle revision org.apache.cxf.cxf-rt-frontend-jaxrs [128.0] because it is exposed to package 'javax.annotation' from bundle revisions javax.annotation-api [65.0] and org.apache.felix.framework [0] via two dependency chains.
      
      Chain 1:
        org.apache.cxf.cxf-rt-frontend-jaxrs [128.0]
          import: (&(osgi.wiring.package=javax.annotation)(version>=1.2.0)(!(version>=2.0.0)))
           |
          export: osgi.wiring.package=javax.annotation
        javax.annotation-api [65.0]
      
      Chain 2:
        org.apache.cxf.cxf-rt-frontend-jaxrs [128.0]
          import: (&(osgi.wiring.package=org.springframework.context.annotation)(version>=3.1.0)(!(version>=5.0.0)))
           |
          export: osgi.wiring.package=org.springframework.context.annotation; uses:=javax.annotation
        org.apache.servicemix.bundles.spring-context [169.0]
          import: (osgi.wiring.package=javax.annotation)
           |
          export: osgi.wiring.package=javax.annotation
        org.apache.felix.framework [0])
      org.osgi.framework.BundleException: Uses constraint violation. Unable to resolve bundle revision org.apache.cxf.cxf-rt-frontend-jaxrs [128.0] because it is exposed to package 'javax.annotation' from bundle revisions javax.annotation-api [65.0] and org.apache.felix.framework [0] via two dependency chains.
      
      Chain 1:
        org.apache.cxf.cxf-rt-frontend-jaxrs [128.0]
          import: (&(osgi.wiring.package=javax.annotation)(version>=1.2.0)(!(version>=2.0.0)))
           |
          export: osgi.wiring.package=javax.annotation
        javax.annotation-api [65.0]
      
      Chain 2:
        org.apache.cxf.cxf-rt-frontend-jaxrs [128.0]
          import: (&(osgi.wiring.package=org.springframework.context.annotation)(version>=3.1.0)(!(version>=5.0.0)))
           |
          export: osgi.wiring.package=org.springframework.context.annotation; uses:=javax.annotation
        org.apache.servicemix.bundles.spring-context [169.0]
          import: (osgi.wiring.package=javax.annotation)
           |
          export: osgi.wiring.package=javax.annotation
        org.apache.felix.framework [0]
      	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4006)
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
      	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299)
      	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
      	at java.lang.Thread.run(Thread.java:745)
       31% [======================>                                                 ]ERROR: Bundle org.apache.camel.camel-cxf [206] Error starting/stopping bundle. (org.osgi.framework.BundleException: Uses constraint violation. Unable to resolve bundle revision org.apache.cxf.cxf-rt-frontend-jaxrs [128.0] because it is exposed to package 'javax.annotation' from bundle revisions javax.annotation-api [65.0] and org.apache.felix.framework [0] via two dependency chains.
      
      Chain 1:
        org.apache.cxf.cxf-rt-frontend-jaxrs [128.0]
          import: (&(osgi.wiring.package=javax.annotation)(version>=1.2.0)(!(version>=2.0.0)))
           |
          export: osgi.wiring.package=javax.annotation
        javax.annotation-api [65.0]
      
      Chain 2:
        org.apache.cxf.cxf-rt-frontend-jaxrs [128.0]
          import: (&(osgi.wiring.package=org.springframework.context.annotation)(version>=3.1.0)(!(version>=5.0.0)))
           |
          export: osgi.wiring.package=org.springframework.context.annotation; uses:=javax.annotation
        org.apache.servicemix.bundles.spring-context [169.0]
          import: (osgi.wiring.package=javax.annotation)
           |
          export: osgi.wiring.package=javax.annotation
        org.apache.felix.framework [0])
      org.osgi.framework.BundleException: Uses constraint violation. Unable to resolve bundle revision org.apache.cxf.cxf-rt-frontend-jaxrs [128.0] because it is exposed to package 'javax.annotation' from bundle revisions javax.annotation-api [65.0] and org.apache.felix.framework [0] via two dependency chains.
      
      Chain 1:
        org.apache.cxf.cxf-rt-frontend-jaxrs [128.0]
          import: (&(osgi.wiring.package=javax.annotation)(version>=1.2.0)(!(version>=2.0.0)))
           |
          export: osgi.wiring.package=javax.annotation
        javax.annotation-api [65.0]
      
      Chain 2:
        org.apache.cxf.cxf-rt-frontend-jaxrs [128.0]
          import: (&(osgi.wiring.package=org.springframework.context.annotation)(version>=3.1.0)(!(version>=5.0.0)))
           |
          export: osgi.wiring.package=org.springframework.context.annotation; uses:=javax.annotation
        org.apache.servicemix.bundles.spring-context [169.0]
          import: (osgi.wiring.package=javax.annotation)
           |
          export: osgi.wiring.package=javax.annotation
        org.apache.felix.framework [0]
      	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4006)
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
      	at org.apache.felix.framework.Felix.setBundleStartLevel(Felix.java:1491)
      	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:334)
      	at java.lang.Thread.run(Thread.java:745)
      

            Unassigned Unassigned
            pantinor@redhat.com Paolo Antinori
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: