Hi Karaf types,

I’m using Karaf 3.0.1 and the cxf-jaxrs feature for this project where I need a 
very simple endpoint.

Trying to configure with

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

according to 
http://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-Spring
 
<http://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-Spring>,
 results in:

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 is fair enough, because it doesn’t.

Any suggestions welcome!
Thanks, Dan.

Reply via email to