It throws the next exception in the initial?
org.springframework.beans.factory.BeanCreationException: Error
creating bean
with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path
resource
[META-INF/cxf/cxf.xml]: Instantiation of bean failed; nested
exception is
org.springframework.beans.BeanInstantiationException: Could not
instantiate
bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw
exception; nested exception is java.lang.ClassCastException:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to
javax.xml.parsers.DocumentBuilderFactory
at
org
.springframework
.beans.factory.support.AbstractAutowireCapableBeanFactory
.instantiateBean(AbstractAutowireCapableBeanFactory.java:813)
at
org
.springframework
.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBeanInstance(AbstractAutowireCapableBeanFactory.java:769)
at
org
.springframework
.beans.factory.support.AbstractAutowireCapableBeanFactory
.doCreateBean(AbstractAutowireCapableBeanFactory.java:412)
at
org
.springframework
.beans.factory.support.AbstractAutowireCapableBeanFactory
$1.run(AbstractAutowireCapableBeanFactory.java:383)
at java.security.AccessController.doPrivileged(Native Method)
at
org
.springframework
.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:353)
at
org.springframework.beans.factory.support.AbstractBeanFactory
$1.getObject(Ab
stractBeanFactory.java:245)
at
org
.springframework
.beans.factory.support.DefaultSingletonBeanRegistry.getSi
ngleton(DefaultSingletonBeanRegistry.java:169)
at
org
.springframework
.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:242)
at
org
.springframework
.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:164)
at
org
.springframework
.beans.factory.support.DefaultListableBeanFactory.preInst
antiateSingletons(DefaultListableBeanFactory.java:400)
at
org
.springframework
.context.support.AbstractApplicationContext.finishBeanFac
toryInitialization(AbstractApplicationContext.java:736)
at
org
.springframework
.context.support.AbstractApplicationContext.refresh(Abstr
actApplicationContext.java:369)
at
org
.apache
.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext
.java:71)
at
org
.apache
.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:8
4)
at
org
.apache
.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:6
5)
at
org
.apache
.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:5
4)
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(AbstractEndpointFacto
ry.java:73)
at
org
.apache
.cxf.frontend.AbstractWSDLBasedEndpointFactory.initializeServiceFa
ctory(AbstractWSDLBasedEndpointFactory.java:143)
at
org
.apache
.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(Abst
ractWSDLBasedEndpointFactory.java:73)
at
org
.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:
51)
at
org
.apache
.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean
.java:92)
at
com
.pervasive
.rfid.middleware.ale.WebServiceFactoryBeanWrapper.generateAlePr
oxy(WebServiceFactoryBeanWrapper.java:24)
at
com
.pervasive
.rfid.middleware.ale.ALEWebServiceDecorator.<init>(ALEWebServic
eDecorator.java:47)
at
com
.pervasive
.rfid.middleware.ale.ManageStation.initManageStation(ManageStat
ion.java:73)
at
com
.pervasive
.rfid.middleware.ale.ManageStation.<init>(ManageStation.java:48
)
at middleware.test.Application.run(Application.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org
.eclipse
.equinox.internal.app.EclipseAppContainer.callMethod(EclipseAppCo
ntainer.java:572)
at
org
.eclipse
.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
171)
at
org
.eclipse
.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
EclipseAppLauncher.java:106)
at
org
.eclipse
.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAp
pLauncher.java:76)
at
org
.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
363)
at
org
.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
Caused by: org.springframework.beans.BeanInstantiationException:
Could not
instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]:
Constructor
threw exception; nested exception is java.lang.ClassCastException:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to
javax.xml.parsers.DocumentBuilderFactory
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:
98)
at
org
.springframework
.beans.factory.support.SimpleInstantiationStrategy.instan
tiate(SimpleInstantiationStrategy.java:61)
at
org
.springframework
.beans.factory.support.AbstractAutowireCapableBeanFactory
.instantiateBean(AbstractAutowireCapableBeanFactory.java:807)
... 47 more
Caused by: java.lang.ClassCastException:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to
javax.xml.parsers.DocumentBuilderFactory
at
javax
.xml
.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.
java:123)
at java.util.XMLUtils.getLoadingDoc(XMLUtils.java:75)
at java.util.XMLUtils.load(XMLUtils.java:57)
at java.util.Properties.loadFromXML(Properties.java:852)
at
org
.apache
.cxf.common.util.PropertiesLoaderUtils.loadAllProperties(Propertie
sLoaderUtils.java:71)
at
org
.apache
.cxf.wsdl11.WSDLManagerImpl.registerInitialExtensions(WSDLManagerI
mpl.java:209)
at
org.apache.cxf.wsdl11.WSDLManagerImpl.<init>(WSDLManagerImpl.java:97)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun
.reflect
.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
at
sun
.reflect
.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:
83)
... 49 more
Please help me find the problem? Thanks!