views:

186

answers:

1

After adding a RESTFul service using Apache CXF to my Spring (and Wicket) project I get the following exception:

org.apache.cxf.BusException: No binding factory for namespace http://apache.org/cxf/binding/jaxrs registered.

I have included the row below in my Spring configuration and thought this would actually solve my problem. But it did not.

import resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml"

Any feedback regarding how to solve this problem or ideas in what areas to look for a solution would be greately appreciated.

I am using Spring 3.0.0.RC2 and Apache CXF 2.2.5. (Maven dependencies to org.springframework.core, org.springframework.test, org.springframework.orm, org.springframework.web and cxf-bundle.)

Thanks in advance.

+1  A: 

Problem was resolved by downgrading Spring to version 2.5.6.

Rasmus