You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Daniel McGreal <d....@gmail.com> on 2015/09/26 16:38:05 UTC
Running with Spring DM (in Karaf)
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.
Re: Running with Spring DM (in Karaf)
Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
Sorry for a delay.
On 26/09/15 16:38, Daniel McGreal wrote:
> 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" />
Importing this resource is no longer needed, I will update the docs
Thanks, Sergey
>
> 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.
>
>
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/