Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7392

Unable to resolve bundle revision org.apache.camel.camel-servlet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.13.0
    • None
    • karaf
    • None
    • Karaf 2.3.4

    • Unknown

    Description

      When loading features

      <repository>mvn:org.apache.activemq/activemq-karaf/5.7.0/xml/features</repository>
      <repository>mvn:org.apache.camel.karaf/apache-camel/2.13.0/xml/features</repository>
      <repository>mvn:io.hawt/hawtio-karaf/1.2.3/xml/features</repository>

      <feature>activemq</feature>
      <feature>camel</feature>
      <feature>camel-jms</feature>
      <feature>camel-mvel</feature>
      <feature>camel-groovy</feature>
      <feature>hawtio-core</feature>
      <feature>camel-cache</feature>
      <feature>cxf</feature>
      <feature>camel-cxf</feature>
      <feature>camel-http</feature>
      <feature>camel-http4</feature>
      <feature>camel-servlet</feature>

      the following issue occurs:

      Error executing command: Could not start bundle mvn:org.apache.camel/camel-servlet/2.13.0 in feature(s) camel-servlet-2.13.0: Uses constraint violation. Unable to resolve bundle revision org.apache.camel.camel-servlet [243.0] because it is exposed to package 'javax.servlet' from bundle revisions org.apache.geronimo.specs.geronimo-servlet_2.5_spec [110.0] and org.apache.geronimo.specs.geronimo-servlet_3.0_spec [238.0] via two dependency chains.

      Chain 1:
      org.apache.camel.camel-servlet [243.0]
      import: (&(osgi.wiring.package=javax.servlet)(version>=2.5.0)(!(version>=4.0.0)))

      export: osgi.wiring.package=javax.servlet
      org.apache.geronimo.specs.geronimo-servlet_2.5_spec [110.0]

      Chain 2:
      org.apache.camel.camel-servlet [243.0]
      import: (&(osgi.wiring.package=org.apache.camel.component.http)(version>=2.13.0)(!(version>=2.14.0)))

      export: osgi.wiring.package=org.apache.camel.component.http; uses:=javax.servlet
      org.apache.camel.camel-http [239.0]
      import: (&(osgi.wiring.package=javax.servlet)(version>=2.5.0)(!(version>=4.0.0)))

      export: osgi.wiring.package=javax.servlet
      org.apache.geronimo.specs.geronimo-servlet_3.0_spec [238.0]

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            lichtin Martin Lichtin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: