BeanCreationException wrapped as warning during cxf-codegen:wsdl2java
---------------------------------------------------------------------
Key: CXF-2747
URL: https://issues.apache.org/jira/browse/CXF-2747
Project: CXF
Issue Type: Bug
Affects Versions: 2.3
Environment: Windows Vista
jdk1.6.0_07
Reporter: Reinis Vicups
Priority: Minor
My project starts and completes successfully but there is exception thrown
during build when wsdl2java gets called. I am not sure if this is wsdl2java
specific. I found this ticket which looks sortof similar to me:
http://brutus.apache.org/jira/browse/CXF-2630
This is console output during build:
[INFO] [cxf-codegen:wsdl2java]
[DEBUG] Setting context classloader for plugin to:
/plugins/org.apache.cxf:cxf-codegen-plugin:2....@48/thread:main (instance is:
ClassRealm[/plugins/org.apache.cxf:cxf-codegen-plugin:2....@48/thread:main,
parent: ClassRealm[plexus.core, parent: null]])
[DEBUG] Classpath: [file:blah/target/classes/, file:blah/target/classes/,
file:/C:/Users/rvicups/.m2/repository/org/apache/cxf/cxf-rt-frontend-jaxws/2.3.0-SNAPSHOT/cxf-rt-frontend-jaxws-2.3.0-SNAPSHOT.jar,
file:/C:/Users/rvicups/.m2/repository/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar,
file:/C:/Users/rvicups/.m2/repository/asm/asm/2.2.3/asm-2.2.3.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/cxf/cxf-api/2.3.0-SNAPSHOT/cxf-api-2.3.0-SNAPSHOT.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/cxf/cxf-common-utilities/2.3.0-SNAPSHOT/cxf-common-utilities-2.3.0-SNAPSHOT.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/ws/commons/schema/XmlSchema/1.4.5/XmlSchema-1.4.5.jar,
file:/C:/Users/rvicups/.m2/repository/org/codehaus/woodstox/woodstox-core-asl/4.0.7/woodstox-core-asl-4.0.7.jar,
file:/C:/Users/rvicups/.m2/repository/org/codehaus/woodstox/stax2-api/3.0.1/stax2-api-3.0.1.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/neethi/neethi/2.0.4/neethi-2.0.4.jar,
file:/C:/Users/rvicups/.m2/repository/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar,
file:/C:/Users/rvicups/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/cxf/cxf-common-schemas/2.3.0-SNAPSHOT/cxf-common-schemas-2.3.0-SNAPSHOT.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/cxf/cxf-rt-core/2.3.0-SNAPSHOT/cxf-rt-core-2.3.0-SNAPSHOT.jar,
file:/C:/Users/rvicups/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.12/jaxb-impl-2.1.12.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/geronimo/specs/geronimo-javamail_1.4_spec/1.6/geronimo-javamail_1.4_spec-1.6.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/cxf/cxf-rt-bindings-soap/2.3.0-SNAPSHOT/cxf-rt-bindings-soap-2.3.0-SNAPSHOT.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/cxf/cxf-tools-common/2.3.0-SNAPSHOT/cxf-tools-common-2.3.0-SNAPSHOT.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/cxf/cxf-rt-databinding-jaxb/2.3.0-SNAPSHOT/cxf-rt-databinding-jaxb-2.3.0-SNAPSHOT.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/mina/mina-core/2.0.0-M6/mina-core-2.0.0-M6.jar,
file:/C:/Users/rvicups/.m2/repository/org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/cxf/cxf-rt-bindings-xml/2.3.0-SNAPSHOT/cxf-rt-bindings-xml-2.3.0-SNAPSHOT.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/cxf/cxf-rt-frontend-simple/2.3.0-SNAPSHOT/cxf-rt-frontend-simple-2.3.0-SNAPSHOT.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/cxf/cxf-rt-ws-addr/2.3.0-SNAPSHOT/cxf-rt-ws-addr-2.3.0-SNAPSHOT.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/cxf/cxf-rt-frontend-jaxrs/2.3.0-SNAPSHOT/cxf-rt-frontend-jaxrs-2.3.0-SNAPSHOT.jar,
file:/C:/Users/rvicups/.m2/repository/org/springframework/spring-core/2.5.6/spring-core-2.5.6.jar,
file:/C:/Users/rvicups/.m2/repository/javax/ws/rs/jsr311-api/1.0/jsr311-api-1.0.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/cxf/cxf-rt-transports-http/2.3.0-SNAPSHOT/cxf-rt-transports-http-2.3.0-SNAPSHOT.jar,
file:/C:/Users/rvicups/.m2/repository/org/springframework/spring-web/2.5.6/spring-web-2.5.6.jar,
file:/C:/Users/rvicups/.m2/repository/org/springframework/spring-beans/2.5.6/spring-beans-2.5.6.jar,
file:/C:/Users/rvicups/.m2/repository/org/springframework/spring-context/2.5.6/spring-context-2.5.6.jar,
file:/C:/Users/rvicups/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/cxf/cxf-rt-databinding-aegis/2.3.0-SNAPSHOT/cxf-rt-databinding-aegis-2.3.0-SNAPSHOT.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/abdera/abdera-core/0.4.0-incubating/abdera-core-0.4.0-incubating.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/abdera/abdera-i18n/0.4.0-incubating/abdera-i18n-0.4.0-incubating.jar,
file:/C:/Users/rvicups/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/abdera/abdera-parser/0.4.0-incubating/abdera-parser-0.4.0-incubating.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/ws/commons/axiom/axiom-impl/1.2.5/axiom-impl-1.2.5.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/ws/commons/axiom/axiom-api/1.2.5/axiom-api-1.2.5.jar,
file:/C:/Users/rvicups/.m2/repository/jaxen/jaxen/1.1.1/jaxen-1.1.1.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/abdera/abdera-extensions-json/0.4.0-incubating/abdera-extensions-json-0.4.0-incubating.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/abdera/abdera-extensions-main/0.4.0-incubating/abdera-extensions-main-0.4.0-incubating.jar,
file:/C:/Users/rvicups/.m2/repository/org/codehaus/jettison/jettison/1.2/jettison-1.2.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/xmlbeans/xmlbeans/2.4.0/xmlbeans-2.4.0.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/cxf/cxf-rt-transports-http-jetty/2.3.0-SNAPSHOT/cxf-rt-transports-http-jetty-2.3.0-SNAPSHOT.jar,
file:/C:/Users/rvicups/.m2/repository/org/mortbay/jetty/jetty/6.1.21/jetty-6.1.21.jar,
file:/C:/Users/rvicups/.m2/repository/org/mortbay/jetty/jetty-util/6.1.21/jetty-util-6.1.21.jar,
file:/C:/Users/rvicups/.m2/repository/org/apache/geronimo/specs/geronimo-servlet_2.5_spec/1.2/geronimo-servlet_2.5_spec-1.2.jar,
file:/C:/Users/rvicups/.m2/repository/com/sun/xml/fastinfoset/FastInfoset/1.2.7/FastInfoset-1.2.7.jar,
file:/C:/Users/rvicups/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar,
file:/C:/Users/rvicups/.m2/repository/junit/junit/4.4/junit-4.4.jar,
file:/C:/Users/rvicups/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar,
file:/C:/Users/rvicups/.m2/repository/org/slf4j/slf4j-log4j12/1.5.2/slf4j-log4j12-1.5.2.jar,
file:/C:/Users/rvicups/.m2/repository/commons-beanutils/commons-beanutils/1.8.2/commons-beanutils-1.8.2.jar,
file:/C:/Users/rvicups/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar,
file:blah/target/classes/,
file:/C:/Users/rvicups/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar,
file:/C:/Users/rvicups/.m2/repository/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA.jar,
file:/C:/Users/rvicups/.m2/repository/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.jar,
file:/C:/Users/rvicups/.m2/repository/org/hibernate/hibernate-commons-annotations/3.1.0.GA/hibernate-commons-annotations-3.1.0.GA.jar,
file:/C:/Users/rvicups/.m2/repository/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar,
file:/C:/Users/rvicups/.m2/repository/org/hibernate/hibernate-core/3.3.2.GA/hibernate-core-3.3.2.GA.jar,
file:/C:/Users/rvicups/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar,
file:/C:/Users/rvicups/.m2/repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar,
file:/C:/Users/rvicups/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar,
file:/C:/Users/rvicups/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar,
file:/C:/Users/rvicups/.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar,
file:/C:/Users/rvicups/.m2/repository/javassist/javassist/3.4.GA/javassist-3.4.GA.jar,
file:/C:/Users/rvicups/.m2/repository/c3p0/c3p0/0.9.1.2/c3p0-0.9.1.2.jar,
file:/C:/Users/rvicups/.m2/repository/com/oracle/ojdbc14/10.2.0.4.0/ojdbc14-10.2.0.4.0.jar,
file:/C:/Users/rvicups/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar,
file:/C:/Users/rvicups/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar,
file:/C:/Users/rvicups/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar]
[DEBUG] Calling wsdl2java with args: [-d, blah\target\generated-sources,
-verbose, file:blah/src/main/resources/cnc-common-email-service-emailus.wsdl]
Loading FrontEnd jaxws ...
Loading DataBinding jaxb ...
wsdl2java -d blah\target\generated-sources -verbose
file:blah/src/main/resources/cnc-common-email-service-emailus.wsdl
wsdl2java - Apache CXF 2.2.6
31.03.2010 17:33:40
org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.apache.cxf.bus.spring.busapplicationcont...@14fcd9a:
display name [org.apache.cxf.bus.spring.busapplicationcont...@14fcd9a]; startup
date [Wed Mar 31 17:33:40 CEST 2010]; root of context hierarchy
31.03.2010 17:33:40
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[META-INF/cxf/cxf.xml]
31.03.2010 17:33:40
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[META-INF/cxf/cxf-extension-jaxws.xml]
31.03.2010 17:33:40
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[META-INF/cxf/cxf-extension-soap.xml]
31.03.2010 17:33:40
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[META-INF/cxf/cxf-extension-xml.xml]
31.03.2010 17:33:40
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[META-INF/cxf/cxf-extension-addr.xml]
31.03.2010 17:33:40
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[META-INF/cxf/cxf-extension-jaxrs-binding.xml]
31.03.2010 17:33:41
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[META-INF/cxf/cxf-extension-http.xml]
31.03.2010 17:33:41
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[META-INF/cxf/cxf-extension-http-jetty.xml]
31.03.2010 17:33:41
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[META-INF/cxf/cxf-extension-http.xml]
31.03.2010 17:33:41
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean
'org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder': replacing
[Generic bean: class
[org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder];
scope=singleton; abstract=false; lazyInit=true; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean:
class [org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder];
scope=singleton; abstract=false; lazyInit=true; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [META-INF/cxf/cxf-extension-http.xml]]
31.03.2010 17:33:41
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean
'org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder': replacing
[Generic bean: class
[org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder];
scope=singleton; abstract=false; lazyInit=true; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean:
class [org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder];
scope=singleton; abstract=false; lazyInit=true; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [META-INF/cxf/cxf-extension-http.xml]]
31.03.2010 17:33:41
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean
'org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider': replacing
[Generic bean: class
[org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider];
scope=singleton; abstract=false; lazyInit=true; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean:
class [org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider];
scope=singleton; abstract=false; lazyInit=true; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [META-INF/cxf/cxf-extension-http.xml]]
31.03.2010 17:33:41
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean
'org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory': replacing
[Generic bean: class
[org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory];
scope=singleton; abstract=false; lazyInit=true; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean:
class [org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory];
scope=singleton; abstract=false; lazyInit=true; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [META-INF/cxf/cxf-extension-http.xml]]
31.03.2010 17:33:41
org.springframework.context.support.AbstractApplicationContext
obtainFreshBeanFactory
INFO: Bean factory for application context
[org.apache.cxf.bus.spring.busapplicationcont...@14fcd9a]:
org.springframework.beans.factory.support.defaultlistablebeanfact...@4d93e3
31.03.2010 17:33:41
org.springframework.beans.factory.support.DefaultListableBeanFactory
preInstantiateSingletons
INFO: Pre-instantiating singletons in
org.springframework.beans.factory.support.defaultlistablebeanfact...@4d93e3:
defining beans
[cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry,org.apache.cxf.jaxws.context.WebServiceContextResourceResolver,org.apache.cxf.jaxws.context.WebServiceContextImpl,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.binding.xml.XMLBindingFactory,org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder,org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider,org.apache.cxf.ws.addressing.policy.UsingAddressingAssertionBuilder,org.apache.cxf.jaxrs.JAXRSBindingFactory,org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder,org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider,org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory,org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory];
root of factory hierarchy
31.03.2010 17:33:41
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
destroySingletons
INFO: Destroying singletons in
org.springframework.beans.factory.support.defaultlistablebeanfact...@4d93e3:
defining beans
[cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry,org.apache.cxf.jaxws.context.WebServiceContextResourceResolver,org.apache.cxf.jaxws.context.WebServiceContextImpl,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.binding.xml.XMLBindingFactory,org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder,org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider,org.apache.cxf.ws.addressing.policy.UsingAddressingAssertionBuilder,org.apache.cxf.jaxrs.JAXRSBindingFactory,org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder,org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider,org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory,org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory];
root of factory hierarchy
31.03.2010 17:33:41 org.apache.cxf.bus.spring.SpringBusFactory
createApplicationContext
WARNUNG: Initial attempt to crate application context was unsuccessful.
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.cxf.binding.BindingFactoryManager' defined in class path
resource [META-INF/cxf/cxf.xml]: Cannot create inner bean
'org.apache.cxf.configuration.spring.SpringBeanMap#6bba64' of type
[org.apache.cxf.configuration.spring.SpringBeanMap] while setting bean property
'mapProvider'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.cxf.configuration.spring.SpringBeanMap#6bba64' defined in
class path resource [META-INF/cxf/cxf.xml]: Invocation of init method failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.soap.SoapBindingFactory'
defined in class path resource [META-INF/cxf/cxf-extension-soap.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.apache.cxf.binding.soap.SoapBindingFactory]: Constructor threw
exception; nested exception is java.lang.NoSuchMethodError:
org.apache.cxf.binding.AbstractBindingFactory.<init>(Lorg/apache/cxf/Bus;Ljava/util/Collection;)V
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at
org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:91)
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.BusFactory.getDefaultBus(BusFactory.java:69)
at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:58)
at
org.apache.cxf.tools.common.toolspec.AbstractToolContainer.getBus(AbstractToolContainer.java:189)
at
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:158)
at
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:128)
at
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:271)
at
org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113)
at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)
at
org.apache.cxf.maven_plugin.WSDL2JavaMojo.callWsdl2Java(WSDL2JavaMojo.java:404)
at
org.apache.cxf.maven_plugin.WSDL2JavaMojo.execute(WSDL2JavaMojo.java:359)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
at
org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
at
org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
at
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
at
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.apache.cxf.configuration.spring.SpringBeanMap#6bba64' defined in class
path resource [META-INF/cxf/cxf.xml]: Invocation of init method failed; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.apache.cxf.binding.soap.SoapBindingFactory'
defined in class path resource [META-INF/cxf/cxf-extension-soap.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.apache.cxf.binding.soap.SoapBindingFactory]: Constructor threw
exception; nested exception is java.lang.NoSuchMethodError:
org.apache.cxf.binding.AbstractBindingFactory.<init>(Lorg/apache/cxf/Bus;Ljava/util/Collection;)V
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)
... 54 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.apache.cxf.binding.soap.SoapBindingFactory'
defined in class path resource [META-INF/cxf/cxf-extension-soap.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.apache.cxf.binding.soap.SoapBindingFactory]: Constructor threw
exception; nested exception is java.lang.NoSuchMethodError:
org.apache.cxf.binding.AbstractBindingFactory.<init>(Lorg/apache/cxf/Bus;Ljava/util/Collection;)V
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:880)
at
org.apache.cxf.configuration.spring.SpringBeanMap.processBeans(SpringBeanMap.java:77)
at
org.apache.cxf.configuration.spring.AbstractSpringBeanMap.afterPropertiesSet(AbstractSpringBeanMap.java:54)
at
org.apache.cxf.configuration.spring.SpringBeanMap.afterPropertiesSet(SpringBeanMap.java:36)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
... 59 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class [org.apache.cxf.binding.soap.SoapBindingFactory]:
Constructor threw exception; nested exception is java.lang.NoSuchMethodError:
org.apache.cxf.binding.AbstractBindingFactory.<init>(Lorg/apache/cxf/Bus;Ljava/util/Collection;)V
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
... 76 more
Caused by: java.lang.NoSuchMethodError:
org.apache.cxf.binding.AbstractBindingFactory.<init>(Lorg/apache/cxf/Bus;Ljava/util/Collection;)V
at
org.apache.cxf.binding.soap.SoapBindingFactory.<init>(SoapBindingFactory.java:127)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
... 78 more
31.03.2010 17:33:41
org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.apache.cxf.bus.spring.busapplicationcont...@2e6c66:
display name [org.apache.cxf.bus.spring.busapplicationcont...@2e6c66]; startup
date [Wed Mar 31 17:33:41 CEST 2010]; root of context hierarchy
31.03.2010 17:33:41
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[META-INF/cxf/cxf.xml]
31.03.2010 17:33:41
org.springframework.context.support.AbstractApplicationContext
obtainFreshBeanFactory
INFO: Bean factory for application context
[org.apache.cxf.bus.spring.busapplicationcont...@2e6c66]:
org.springframework.beans.factory.support.defaultlistablebeanfact...@1983ad7
31.03.2010 17:33:41
org.springframework.beans.factory.support.DefaultListableBeanFactory
preInstantiateSingletons
INFO: Pre-instantiating singletons in
org.springframework.beans.factory.support.defaultlistablebeanfact...@1983ad7:
defining beans
[cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry];
root of factory hierarchy
31.03.2010 17:33:42
org.springframework.context.support.AbstractApplicationContext doClose
INFO: Closing org.apache.cxf.bus.spring.busapplicationcont...@2e6c66: display
name [org.apache.cxf.bus.spring.busapplicationcont...@2e6c66]; startup date
[Wed Mar 31 17:33:41 CEST 2010]; root of context hierarchy
31.03.2010 17:33:42
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
destroySingletons
INFO: Destroying singletons in
org.springframework.beans.factory.support.defaultlistablebeanfact...@1983ad7:
defining beans
[cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry];
root of factory hierarchy
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.