cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: java.lang.NoSuchMethodException: oracle.j2ee.* .....See the message
Date Mon, 22 Nov 2010 16:27:10 GMT


On Monday 22 November 2010 2:10:00 am funkychap22 wrote:
> Hello,
> 
> Help required to fix this issue. Seems like its an oracle library loaded
> first than the application classloader.

This looks like it's picking up an oracle version of WSDL4J instead of our 
version.   Is there a way to configure your application to use the real WSDL4J 
instead?

Dan



> 
> 
> Trace:
> 
> <User defined listener
> org.springframework.web.context.ContextLoaderListener failed:
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'personService': Invocation of init method failed; nested
> exception is javax.xml.ws.WebServiceException:
> java.lang.reflect.UndeclaredThrowableException.
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'personService': Invocation of init method failed; nested
> exception is javax.xml.ws.WebServiceException:
> java.lang.reflect.UndeclaredThrowableException
> 	at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor
> y.initializeBean(AbstractAutowireCapableBeanFactory.java:1420) at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor
> y.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor
> y.createBean(AbstractAutowireCapableBeanFactory.java:456) at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(A
> bstractBeanFactory.java:291) at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getS
> ingleton(DefaultSingletonBeanRegistry.java:222) Truncated. see log file for
> complete stacktrace
> 
> Caused By: java.lang.reflect.UndeclaredThrowableException
> 	at $Proxy183.getElementType(Unknown Source)
> 	at
> org.apache.cxf.jaxws.support.JaxWsEndpointImpl.hasUsingAddressing(JaxWsEndp
> ointImpl.java:235) at
> org.apache.cxf.jaxws.support.JaxWsEndpointImpl.extractWsdlExtensibilities(J
> axWsEndpointImpl.java:196) at
> org.apache.cxf.jaxws.support.JaxWsEndpointImpl.<init>(JaxWsEndpointImpl.jav
> a:186) at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.createEndpoint(JaxWsSe
> rviceFactoryBean.java:214) Truncated. see log file for complete stacktrace
> 
> 
> Caused By: java.lang.NoSuchMethodException:
> oracle.j2ee.ws.wsdl.extensions.soap.SOAPBindingImpl.getElementType()
> 	at java.lang.Class.getDeclaredMethod(Class.java:1937)
> 	at
> org.apache.cxf.tools.common.ExtensionInvocationHandler.invoke(ExtensionInvo
> cationHandler.java:41) at $Proxy183.getElementType(Unknown Source)
> 	at
> org.apache.cxf.jaxws.support.JaxWsEndpointImpl.hasUsingAddressing(JaxWsEndp
> ointImpl.java:235) at
> org.apache.cxf.jaxws.support.JaxWsEndpointImpl.extractWsdlExtensibilities(J
> axWsEndpointImpl.java:196) Truncated. see log file for complete stacktrace
> 
> 
> Environment: CXF 2.3, Spring 3.0, Weblogic 10.3.3, JDK1.6.0_18. Trying to
> implement the sample provided in
> http://united-coders.com/phillip-steffensen/developing-a-simple-soap-webser
> vice-using-spring-301-and-apache-cxf-226
> 
> Newbie trying to implement my first service in CXF wired with spring. Any
> help will be deeply appreciated.
> 
> Thanks,

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

Mime
View raw message