Hi,
I just tried to upgrade to 2.2.3 as a drop-in replacement, and as my
application starts I get this error :
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>()
I double checked all my cxf-* jars are 2.2.3, what could be wrong.
This seems to be related to my conf :
<cxf:bus>
<cxf:features>
<cxf:logging/>
</cxf:features>
</cxf:bus>
I supposed I get into BusDefinitionParser.doParse() :
if (StringUtils.isEmpty(bus)) {
addBusWiringAttribute(bean, BusWiringType.CONSTRUCTOR);
So the expected behaviour is to have Spring use the constructor injection,
but it seems to still look for a no-param constructor in my case.
Any idea ?