zoukankan      html  css  js  c++  java
  • Error creating bean with name 'org.apache.cxf.binding.soap.customEditorConfigurer'

    1、错误描述

    2015-09-20 17:08:36 [localhost-startStop-1] WARN  org.apache.cxf.bus.spring.BusApplicationContext - Exception encountered during context initialization - cancelling refresh attempt
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.binding.soap.customEditorConfigurer' defined in class path resource [META-INF/cxf/cxf-extension-soap.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.util.LinkedHashMap' to required type 'java.util.Map' for property 'customEditors'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.apache.cxf.binding.soap.SoapVersionEditor] to required type [java.lang.Class] for property 'customEditors[org.apache.cxf.binding.soap.SoapVersion]': PropertyEditor [org.springframework.beans.propertyeditors.ClassEditor] returned inappropriate value of type [org.apache.cxf.binding.soap.SoapVersionEditor]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:548)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
    	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:167)
    	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462)
    	at org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:88)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53)
    	at org.apache.cxf.transport.servlet.CXFServlet.updateContext(CXFServlet.java:116)
    	at org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CXFServlet.java:100)
    	at org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:69)
    	at org.apache.cxf.transport.servlet.AbstractCXFServlet.init(AbstractCXFServlet.java:91)
    	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
    	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
    	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
    	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5231)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5518)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
    	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)
    	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    	at java.lang.Thread.run(Thread.java:745)
    Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.util.LinkedHashMap' to required type 'java.util.Map' for property 'customEditors'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.apache.cxf.binding.soap.SoapVersionEditor] to required type [java.lang.Class] for property 'customEditors[org.apache.cxf.binding.soap.SoapVersion]': PropertyEditor [org.springframework.beans.propertyeditors.ClassEditor] returned inappropriate value of type [org.apache.cxf.binding.soap.SoapVersionEditor]
    	at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:480)
    	at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:511)
    	at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:505)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1517)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1476)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1216)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538)
    	... 34 more
    Caused by: java.lang.IllegalArgumentException: Cannot convert value of type [org.apache.cxf.binding.soap.SoapVersionEditor] to required type [java.lang.Class] for property 'customEditors[org.apache.cxf.binding.soap.SoapVersion]': PropertyEditor [org.springframework.beans.propertyeditors.ClassEditor] returned inappropriate value of type [org.apache.cxf.binding.soap.SoapVersionEditor]
    	at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:283)
    	at org.springframework.beans.TypeConverterDelegate.convertToTypedMap(TypeConverterDelegate.java:643)
    	at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:222)
    	at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:460)
    	... 40 more
    九月 20, 2015 5:08:36 下午 org.apache.cxf.bus.spring.SpringBusFactory createBus
    警告: Failed to create application context.
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.binding.soap.customEditorConfigurer' defined in class path resource [META-INF/cxf/cxf-extension-soap.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.util.LinkedHashMap' to required type 'java.util.Map' for property 'customEditors'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.apache.cxf.binding.soap.SoapVersionEditor] to required type [java.lang.Class] for property 'customEditors[org.apache.cxf.binding.soap.SoapVersion]': PropertyEditor [org.springframework.beans.propertyeditors.ClassEditor] returned inappropriate value of type [org.apache.cxf.binding.soap.SoapVersionEditor]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:548)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
    	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:167)
    	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462)
    	at org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:88)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53)
    	at org.apache.cxf.transport.servlet.CXFServlet.updateContext(CXFServlet.java:116)
    	at org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CXFServlet.java:100)
    	at org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:69)
    	at org.apache.cxf.transport.servlet.AbstractCXFServlet.init(AbstractCXFServlet.java:91)
    	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
    	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
    	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
    	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5231)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5518)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
    	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)
    	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    	at java.lang.Thread.run(Thread.java:745)
    Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.util.LinkedHashMap' to required type 'java.util.Map' for property 'customEditors'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.apache.cxf.binding.soap.SoapVersionEditor] to required type [java.lang.Class] for property 'customEditors[org.apache.cxf.binding.soap.SoapVersion]': PropertyEditor [org.springframework.beans.propertyeditors.ClassEditor] returned inappropriate value of type [org.apache.cxf.binding.soap.SoapVersionEditor]
    	at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:480)
    	at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:511)
    	at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:505)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1517)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1476)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1216)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538)
    	... 34 more
    Caused by: java.lang.IllegalArgumentException: Cannot convert value of type [org.apache.cxf.binding.soap.SoapVersionEditor] to required type [java.lang.Class] for property 'customEditors[org.apache.cxf.binding.soap.SoapVersion]': PropertyEditor [org.springframework.beans.propertyeditors.ClassEditor] returned inappropriate value of type [org.apache.cxf.binding.soap.SoapVersionEditor]
    	at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:283)
    	at org.springframework.beans.TypeConverterDelegate.convertToTypedMap(TypeConverterDelegate.java:643)
    	at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:222)
    	at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:460)
    	... 40 more
    
    九月 20, 2015 5:08:36 下午 org.apache.catalina.core.ApplicationContext log
    严重: StandardWrapper.Throwable
    java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.binding.soap.customEditorConfigurer' defined in class path resource [META-INF/cxf/cxf-extension-soap.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.util.LinkedHashMap' to required type 'java.util.Map' for property 'customEditors'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.apache.cxf.binding.soap.SoapVersionEditor] to required type [java.lang.Class] for property 'customEditors[org.apache.cxf.binding.soap.SoapVersion]': PropertyEditor [org.springframework.beans.propertyeditors.ClassEditor] returned inappropriate value of type [org.apache.cxf.binding.soap.SoapVersionEditor]
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:96)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53)
    	at org.apache.cxf.transport.servlet.CXFServlet.updateContext(CXFServlet.java:116)
    	at org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CXFServlet.java:100)
    	at org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:69)
    	at org.apache.cxf.transport.servlet.AbstractCXFServlet.init(AbstractCXFServlet.java:91)
    	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
    	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
    	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
    	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5231)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5518)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
    	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)
    	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    	at java.lang.Thread.run(Thread.java:745)
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.binding.soap.customEditorConfigurer' defined in class path resource [META-INF/cxf/cxf-extension-soap.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.util.LinkedHashMap' to required type 'java.util.Map' for property 'customEditors'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.apache.cxf.binding.soap.SoapVersionEditor] to required type [java.lang.Class] for property 'customEditors[org.apache.cxf.binding.soap.SoapVersion]': PropertyEditor [org.springframework.beans.propertyeditors.ClassEditor] returned inappropriate value of type [org.apache.cxf.binding.soap.SoapVersionEditor]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:548)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
    	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:167)
    	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462)
    	at org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:88)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)
    	... 23 more
    Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.util.LinkedHashMap' to required type 'java.util.Map' for property 'customEditors'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.apache.cxf.binding.soap.SoapVersionEditor] to required type [java.lang.Class] for property 'customEditors[org.apache.cxf.binding.soap.SoapVersion]': PropertyEditor [org.springframework.beans.propertyeditors.ClassEditor] returned inappropriate value of type [org.apache.cxf.binding.soap.SoapVersionEditor]
    	at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:480)
    	at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:511)
    	at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:505)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1517)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1476)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1216)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538)
    	... 34 more
    Caused by: java.lang.IllegalArgumentException: Cannot convert value of type [org.apache.cxf.binding.soap.SoapVersionEditor] to required type [java.lang.Class] for property 'customEditors[org.apache.cxf.binding.soap.SoapVersion]': PropertyEditor [org.springframework.beans.propertyeditors.ClassEditor] returned inappropriate value of type [org.apache.cxf.binding.soap.SoapVersionEditor]
    	at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:283)
    	at org.springframework.beans.TypeConverterDelegate.convertToTypedMap(TypeConverterDelegate.java:643)
    	at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:222)
    	at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:460)
    	... 40 more
    
    九月 20, 2015 5:08:36 下午 org.apache.catalina.core.StandardContext loadOnStartup
    严重: Servlet /FlashProject threw load() exception
    java.lang.IllegalArgumentException: Cannot convert value of type [org.apache.cxf.binding.soap.SoapVersionEditor] to required type [java.lang.Class] for property 'customEditors[org.apache.cxf.binding.soap.SoapVersion]': PropertyEditor [org.springframework.beans.propertyeditors.ClassEditor] returned inappropriate value of type [org.apache.cxf.binding.soap.SoapVersionEditor]
    	at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:283)
    	at org.springframework.beans.TypeConverterDelegate.convertToTypedMap(TypeConverterDelegate.java:643)
    	at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:222)
    	at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:460)
    	at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:511)
    	at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:505)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1517)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1476)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1216)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
    	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:167)
    	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostPr
    ocessors(AbstractApplicationContext.java:606)
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462)
    	at org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:88)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)
    	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53)
    	at org.apache.cxf.transport.servlet.CXFServlet.updateContext(CXFServlet.java:116)
    	at org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CXFServlet.java:100)
    	at org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:69)
    	at org.apache.cxf.transport.servlet.AbstractCXFServlet.init(AbstractCXFServlet.java:91)
    	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
    	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
    	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
    	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5231)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5518)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
    	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)
    	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    	at java.lang.Thread.run(Thread.java:745)

    2、错误原因

         由于项目中需要CXF有关的jar,但是导入的是cxf-bundle-2.0.10.jar,导致出现上述错误


    3、解决办法

         将cxf-bundle-2.0.10.jar删除,再重新导入cxf-2.6.0.jar

  • 相关阅读:
    怎样理解 DOCTYPE 声明
    怎样理解 Vue 组件中 data 必须为函数 ?
    怎样在 Vue 里面使用自定义事件将子组件的数据传回给父组件?
    怎样在 Vue 的 component 组件中使用 props ?
    怎样创建并使用 vue 组件 (component) ?
    怎样在 Vue 中使用 v-model 处理表单?
    怎样理解 MVVM ( Model-View-ViewModel ) ?
    怎样在 Vue 中使用 事件修饰符 ?
    怎样在 Vue 里面绑定样式属性 ?
    怎样使用 Vue 的监听属性 watch ?
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13314392.html
Copyright © 2011-2022 走看看