Hi, I apologize if this question is not intended to CXF community since Im not really sure if the problem is with CXF or Spring.
I have a web application where I use both Spring application context files as well as cxf.xml. The spring application context files are all named as beans-*-context.xml and hence in my web.xml , I have defined <context-param> <param-name>contextConfigLocation</param-name> <param-value>WEB-INF/classes/beans-*-context.xml</param-value> </context-param> The cxf beans configuration are all in a file called cxf.xml. This set up was working just fine on CXF 2.2.8 and Spring 2.5.6. Ever since, I upgrade to CXF 2.4.1 ( and consequently Spring 3.0.5.RELEASE, ) , cxf.xml does not seem to be recognized . So, when I start my web server, I see error stacktrace - org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'cxf' is defined at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFac tory.java:527) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactor y.java:1083) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274) However, when I name the cxf.xml of the format - beans-*-context.xml , the CXF beans get loaded just fine. I browsed through the release notes of CXF 2.4.1 and also ( 2.3.4 ) , but unfortunately Im not able to figure out the JIRA ticket that talks about such changes. Could any one shed some light on this. ? Thanks, Anand