Hi CXF users!

The following code:
        <import resource="classpath:META-INF/cxf/cxf.xml" />
        <import resource="classpath:META-INF/cxf/osgi/cxf-extension-osgi.xml" />

taken from 
http://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-Spring
 
<http://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-Spring>
gives me the following error:

Caused by: java.io.FileNotFoundException: OSGi 
resource[classpath:META-INF/cxf/cxf.xml|bnd.id=294|bnd.sym=endpoint.cxf] cannot 
be resolved to URL because it does not exist

which doesn’t surprise me as I don’t know what it is, what it does or where 
it’s from :)

I’m using Karaf with the CXF feature, cxf-jaxrs:

dan@root()> feature:info cxf-jaxrs
Feature cxf-jaxrs 3.1.3
Feature has no configuration
Feature has no configuration files
Feature depends on:
  cxf-core 3.1.3
  cxf-http 3.1.3
Feature contains followed bundles:
  mvn:org.codehaus.jettison/jettison/1.3.7 start-level=30
  mvn:org.apache.cxf/cxf-rt-rs-extension-providers/3.1.3 start-level=40
  mvn:org.apache.cxf/cxf-rt-rs-extension-search/3.1.3 start-level=40
  mvn:org.apache.cxf/cxf-rt-rs-service-description/3.1.3 start-level=40
  mvn:org.apache.cxf/cxf-rt-frontend-jaxrs/3.1.3 start-level=40
  mvn:org.apache.cxf/cxf-rt-rs-client/3.1.3 start-level=40
Feature has no conditionals.

Any suggestions greatly appreciated,
Dan.

Reply via email to