title: Install Apache cxf in karaf
body: <p>im having some problems with an sogi-app running on karaf 3.0.8. The app has these dependencies:</p>
  
  <pre><code>dependencies { 
    compile 'org.apache.camel:camel-core:2.15.2'
    compile 'org.apache.camel:camel-cxf:2.15.2'
    compile 'org.slf4j:slf4j-api:1.7.12'
    testCompile group: 'junit', name: 'junit', version: '4.11'
   }
  </code></pre>
  
  <p>When I try to deploy it in karaf, it says:</p>
  
  <pre><code>org.osgi.framework.BundleException: Unresolved constraint in bundle
  foobar.it.osgi.status.osgi-status [863]: Unable to resolve 863.1:
  missing   requirement [863.1] osgi.wiring.package; 
  (&amp;(osgi.wiring.package=javax.ws.rs)(version&gt;=2.0.0)(!(version&gt;=3.0.0)))
  </code></pre>
  
  <p>I tried this:</p>
  
  <pre><code>feature:repo-add mvn:org.apache.cxf.karaf/apache-cxf/3.0.4/xml/feature
  
  feature:install cxf
  </code></pre>
  
  <p>I then get this error:</p>
  
  <pre><code>Error executing command: Can't install feature cxf/0.0.0:   
  No feature named 'jetty' with version '[7,10)' available
  </code></pre>
  
  <p>Hmm, any tips as to how I may install the proper package? Thanks.</p>