Hi,
  I am able to deploy my webserice in tomcat as well as JBoss.
  But I am getting the following error when i deployed the same war in weblogic 
9.2

  <Mar 11, 2008 1:40:15 PM IST> <Warning> <HTTP> <BEA-101162> <User defined 
listener org.springframework.web.context.ContextLoaderListener failed: 
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: interface 
org.xmlsoap.schemas.wsdl.http.AddressType.
  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: interface 
org.xmlsoap.schemas.wsdl.http.AddressType
          at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:454)
          at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:254)
          at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)
          at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:251)
          at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
          Truncated. see log file for complete stacktrace
  org.springframework.beans.BeanInstantiationException: Could not instantiate 
bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw 
exception; nested exception is java.lang.ClassCastException: interface 
org.xmlsoap.schemas.wsdl.http.AddressType
          at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:99)
          at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:60)
          at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:45)
          at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:739)
          at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:727)
          Truncated. see log file for complete stacktrace
  java.lang.ClassCastException: interface 
org.xmlsoap.schemas.wsdl.http.AddressType
          at java.lang.Class.asSubclass(Class.java:2948)
          at 
org.apache.cxf.wsdl.JAXBExtensionHelper.addExtensions(JAXBExtensionHelper.java:64)
          at 
org.apache.cxf.wsdl11.WSDLManagerImpl.registerInitialExtensions(WSDLManagerImpl.java:224)
          at 
org.apache.cxf.wsdl11.WSDLManagerImpl.<init>(WSDLManagerImpl.java:97)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)
          Truncated. see log file for complete stacktrace


  Please help me to resolve this issue


  Regards
  -Binu

Reply via email to