cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Error loading bean definitions
Date Mon, 02 Apr 2012 20:38:37 GMT

I think you need an <import resource="classpath:/META-INF/cxf/cxf.xml"/>

At the very top.

Dan


On Monday, April 02, 2012 06:11:30 AM prashant wrote:
> I did some change in above configuration now my cxf config file is
> 
> Please find attached file
> 
> 
> http://cxf.547215.n5.nabble.com/file/n5612407/cxf-Aanleverservice.xml
> cxf-Aanleverservice.xml
> 
> And now exception is
> 
> 
> [2012-04-02 15:08:35,425] INFO
> org.springframework.beans.factory.support.DefaultListableBeanFactory
> Destroying singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory@1dafb
> 4e: defining beans
> [Aanleverservice,AanleverServiceFactory,TimestampSign_Request,cxf.config0,
> mapAggregator,*.http-conduit,mapCodec,cxf.config1,org.springframework.bean
> s.factory.config.PropertyPlaceholderConfigurer#0,tixDigipoortAdapter,xibAa
> nleverserviceClient,propertyHolder]; root of factory hierarchy
> [2012-04-02 15:08:35,438] ERROR aanleverserviceClientLogger Error in
> static block: org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'cxf.config1': Initialization of bean
> failed; nested exception is java.lang.IllegalStateException: Could not
> register object [org.apache.cxf.bus.CXFBusImpl@179c7cf] under bean name
> 'cxf': there is already object [org.apache.cxf.bus.CXFBusImpl@179c7cf]
> bound
> 
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Error-loading-bean-definitions-tp5093853p
> 5612407.html Sent from the cxf-user mailing list archive at Nabble.com.
-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Mime
View raw message