Severity: Exception sending context initialized event to listener instance of class Org.springframework.web.context.ContextLoad Erlistener
Org.springframework.beans.factory.BeanCreationException:Error creating bean with Name ' Org.apache.cxf.bus.spring.Jsr250BeanPostProcessor ': Injection of resource dependencies failed; Nested exception is org.springframework.beans.factory.CannotLoadBeanClassException:Cannot find class [ Com.neusoft.util.AddSoapHeader] for beans with name ' addsoapheader ' defined in ServletContext resource [/web-inf/config/ Cxf-client.xml]; Nested exception is Java.lang.ClassNotFoundException:com.neusoft.util.AddSoapHeader
At Org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues ( commonannotationbeanpostprocessor.java:306)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean ( abstractautowirecapablebeanfactory.java:1146)
... Omitted...
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:615)
At Java.lang.Thread.run (thread.java:745)
caused by:org.springframework.beans.factory.CannotLoadBeanClassException:Cannot Find class [ Com.neusoft.util.AddSoapHeader] for beans with name ' addsoapheader ' defined in ServletContext resource [/web-inf/config/ Cxf-client.xml]; Nested exception is Java.lang.ClassNotFoundException:com.neusoft.util.AddSoapHeader
At Org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass (abstractbeanfactory.java:1281 )
... Omitted...
At Org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues ( commonannotationbeanpostprocessor.java:303)
... More
caused By:java.lang.ClassNotFoundException:com.neusoft.util.AddSoapHeader
At Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1720)
... Omitted...
At Org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass (abstractbeanfactory.java:1273 )
... More
View exception information This exception was found to occur at the time the event was initialized.
There are several possible causes for this abnormal error:
1, the project used to connect pool, but did not import Commons.pool.jar package, if not imported, import the package can be resolved. Commons.pool.jar package Download Link: http://mirrors.tuna.tsinghua.edu.cn/apache//commons/pool/binaries/commons-pool2-2.6.0-bin.zip
2, check the version of the imported jar package is correct, the wrong version will also cause such problems
3, check the path is correct, sometimes applicationcontext.xml this file can not find, to put under classes. Find the correct path and configuration information for the error file
4. Finally, you can reinstall Tomcat and reconfigure it.
Exception sending context initialized event to listener instance of class Org.springframework.web.context.ContextLoaderListener