Hi Willem,
I do have spring jars in the classpath, but for a completely different
part of this project. We want to be able to create webservices without
spring.
I have verified that removing spring .jars from the classpath appears to
fix this initialization problem, but I can't test the webservice because
the lack of spring jars breaks things.
Right now, in my override of loadBus(), I'm doing the following:
super.loadBus( servletConfig );
Bus bus = getBus();
BusFactory.setDefaultBus( bus );
- Lucas
On 4/6/2010 5:50 PM, Willem Jiang wrote:
Hi Lucas,
Can you check if you put the Spring jars into your class path?
Because the blow code will search the Spring class before it load the
SpringBusFactory.
bus = BusFactory.newInstance().createBus();
I think we can change the current code to create the CXFBusFactory
directly to avoid this kind of issue.
Willem