A mixture of jars from two different releases?

On Fri, Sep 4, 2009 at 8:39 AM, RuneB <[email protected]> wrote:

>
> After upgrading from 2.2 to 2.2.3, the presence of the following in our
> client side context:
>
>        <cxf:bus>
>                <cxf:inInterceptors>
>                        <ref bean="logInbound" />
>                </cxf:inInterceptors>
>                <cxf:outInterceptors>
>                        <ref bean="logOutbound" />
>                </cxf:outInterceptors>
>                <cxf:inFaultInterceptors>
>                        <ref bean="logOutbound" />
>                </cxf:inFaultInterceptors>
>        </cxf:bus>
>
> causes the this to happen when the context gets createt:
>
>        Caused by: org.springframework.beans.factory.BeanCreationException:
> Error
> creating bean with name 'cxf.config': Instantiation of bean failed; nested
> exception is org.springframework.beans.BeanInstantiationException: Could
> not
> instantiate bean class
> [org.apache.cxf.bus.spring.BusDefinitionParser$BusConfig]: No default
> constructor found; nested exception is java.lang.NoSuchMethodException:
> org.apache.cxf.bus.spring.BusDefinitionParser$BusConfig.<init>()
>                at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
>                at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
>                at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
>                at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>                at java.security.AccessController.doPrivileged(Native
> Method)
>                at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>                at
>
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>                at
>
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>                at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>                at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>                at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>                at
>
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
>                at
>
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
>                at
>
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
>                at
>
> org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:84)
>                at
>
> org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:42)
>                at
>
> org.springframework.test.context.TestContext.loadApplicationContext(TestContext.java:173)
>                at
>
> org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:197)
>                ... 21 more
>        Caused by: org.springframework.beans.BeanInstantiationException:
> Could not
> instantiate bean class
> [org.apache.cxf.bus.spring.BusDefinitionParser$BusConfig]: No default
> constructor found; nested exception is java.lang.NoSuchMethodException:
> org.apache.cxf.bus.spring.BusDefinitionParser$BusConfig.<init>()
>                at
>
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:58)
>                at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
>                ... 38 more
>        Caused by: java.lang.NoSuchMethodException:
> org.apache.cxf.bus.spring.BusDefinitionParser$BusConfig.<init>()
>                at java.lang.Class.getConstructor0(Class.java:2678)
>                at java.lang.Class.getDeclaredConstructor(Class.java:1953)
>                at
>
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:54)
>                ... 39 more
>
>
> Anyone know what might be causing this problem?
>
> - Rune
>
> --
> View this message in context:
> http://www.nabble.com/Problem-with-client-side-cxf%3Abus-after-upgrading-from-2.2-to-2.2.3-tp25293610p25293610.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>

Reply via email to