Topic
  • No replies
kamit24
kamit24
1 Post

Pinned topic java.lang.NoSuchMethodError while building webservice

‏2010-03-29T15:52:41Z |
Hello,

I am trying to build a webservice application on RAD 7.5 and facing the following exception -

Java2WSDLTask java.lang.NoSuchMethodError: com/ibm/ejs/ras/TraceComponent.isAnyTracingEnabled()Z
Java2WSDLTask at com.ibm.ws.webservices.multiprotocol.provider.sib.wsdl.SIBBinding.getAttributeNames(SIBBinding.java:78)
Java2WSDLTask at com.ibm.ws.webservices.multiprotocol.extensions.models.ModelExtensibilityElement.<init>(ModelExtensibilityElement.java:51)
Java2WSDLTask at com.ibm.ws.webservices.multiprotocol.provider.sib.wsdl.SIBBinding.<init>(SIBBinding.java:68)
Java2WSDLTask at com.ibm.ws.webservices.multiprotocol.provider.sib.SIBServiceProvider.<clinit>(SIBServiceProvider.java:60)
Java2WSDLTask at java.lang.J9VMInternals.initializeImpl(Native Method)
Java2WSDLTask at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
Java2WSDLTask at java.lang.Class.forNameImpl(Native Method)
Java2WSDLTask at java.lang.Class.forName(Class.java:169)
Java2WSDLTask at com.ibm.ws.webservices.engine.utils.ClassUtils$2.run(ClassUtils.java:234)
Java2WSDLTask at java.security.AccessController.doPrivileged(AccessController.java:202)
Java2WSDLTask at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:65)
Java2WSDLTask at com.ibm.ws.webservices.engine.utils.ClassUtils.loadClass(ClassUtils.java:210)
Java2WSDLTask at com.ibm.ws.webservices.engine.utils.ClassUtils.forName(ClassUtils.java:136)
Java2WSDLTask at com.ibm.ws.webservices.multiprotocol.discovery.ServiceProviderLocator.instantiateServiceProvider(ServiceProviderLocator.java:261)
Java2WSDLTask at com.ibm.ws.webservices.multiprotocol.discovery.ServiceProviderLocator.discoverServiceProviders(ServiceProviderLocator.java:229)
Java2WSDLTask at com.ibm.ws.webservices.multiprotocol.discovery.ServiceProviderLocator$1.run(ServiceProviderLocator.java:195)
Java2WSDLTask at java.security.AccessController.doPrivileged(AccessController.java:202)
Java2WSDLTask at com.ibm.ws.webservices.multiprotocol.discovery.ServiceProviderLocator.findAllServiceProviders(ServiceProviderLocator.java:193)
Java2WSDLTask at com.ibm.ws.webservices.multiprotocol.discovery.ServiceProviderLocator.<init>(ServiceProviderLocator.java:164)
Java2WSDLTask at com.ibm.ws.webservices.multiprotocol.discovery.ServiceProviderLocator.<clinit>(ServiceProviderLocator.java:153)
Java2WSDLTask at java.lang.J9VMInternals.initializeImpl(Native Method)
Java2WSDLTask at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
Java2WSDLTask at com.ibm.ws.webservices.multiprotocol.discovery.ServiceProviderManager.getDiscoveredServiceProviders(ServiceProviderManager.java:377)
Java2WSDLTask at com.ibm.ws.webservices.multiprotocol.discovery.ServiceProviderManager.getAllServiceProviders(ServiceProviderManager.java:214)
Java2WSDLTask at com.ibm.ws.webservices.wsdl.fromJava.Emitter.initPluggableBindings(Emitter.java:2765)
Java2WSDLTask at com.ibm.ws.webservices.wsdl.fromJava.Emitter.<init>(Emitter.java:401)
Java2WSDLTask at com.ibm.ws.webservices.tools.ant.Java2WSDL.execute(Java2WSDL.java:127)
Java2WSDLTask at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
Java2WSDLTask at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Java2WSDLTask at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
Java2WSDLTask at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
Java2WSDLTask at java.lang.reflect.Method.invoke(Method.java:599)
Java2WSDLTask at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
Java2WSDLTask at org.apache.tools.ant.Task.perform(Task.java:348)
Java2WSDLTask at org.apache.tools.ant.Target.execute(Target.java:357)
Java2WSDLTask at org.apache.tools.ant.Target.performTasks(Target.java:385)
Java2WSDLTask at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
Java2WSDLTask at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
Java2WSDLTask at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
Java2WSDLTask at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
Java2WSDLTask at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
Java2WSDLTask at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
Java2WSDLTask at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

Any help/input is appreciated.

Thanks!