cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SC <scme...@gmail.com>
Subject CXF startup issue
Date Mon, 14 Mar 2011 09:23:15 GMT
CXF throws an exception when the server starts and the following code is
executed:

JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
factory.setServiceClass(SomePortType.class);
factory.setAddress("some endpoint here...");
factory.create(); // <-- this is where it fails


Here is the stack trace:

Unexpected Error
java.lang.NoSuchFieldError: WIRE_BUS_ATTRIBUTE
    at
org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor.postProcessBeanFactory(BusWiringBeanFactoryPostProcessor.java:74)
    at
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:477)
    at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:334)
    at
org.apache.cxf.bus.spring.BusApplicationContext.(BusApplicationContext.java:71)
    at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:84)
    at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:65)
    at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:54)
    at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69)
    at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:106)
    at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:97)
    at
org.apache.cxf.endpoint.AbstractEndpointFactory.getBus(AbstractEndpointFactory.java:73)
    at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.initializeServiceFactory(AbstractWSDLBasedEndpointFactory.java:143)
    at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:73)
    at
org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:51)
    at
org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:92)


Any idea what's this all about ?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message