cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Heudecker <nheudec...@gmail.com>
Subject ClassCastException migrating from 2.0.8 to 2.2
Date Tue, 07 Apr 2009 18:59:19 GMT
I'm encountering the following exception at application startup following an
attempt to upgrade from 2.0.8 to 2.2:

2009-04-07 11:49:58.221::WARN:  Nested in
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: class
org.apache.cxf.ws.addressing.wsdl.UsingAddressing:
java.lang.ClassCastException: class
org.apache.cxf.ws.addressing.wsdl.UsingAddressing
    at java.lang.Class.asSubclass(Class.java:2979)
    at
org.apache.cxf.wsdl.JAXBExtensionHelper.addExtensions(JAXBExtensionHelper.java:73)
    at
org.apache.cxf.wsdl11.WSDLManagerImpl.registerInitialExtensions(WSDLManagerImpl.java:238)
    at
org.apache.cxf.wsdl11.WSDLManagerImpl.registerInitialExtensions(WSDLManagerImpl.java:218)
    at
org.apache.cxf.wsdl11.WSDLManagerImpl.<init>(WSDLManagerImpl.java:109)
    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:494)
    at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)

Any idea what could be causing this and how to resolve it?  Thanks!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message