You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Alison Stevenson <as...@it-innovation.soton.ac.uk> on 2002/08/14 12:54:23 UTC
RE: NoSuchMethodError : invokeJAXRPCHandlers : Solved!
In reply to my own message in case it helps some else later on ...
The jaxrpc.jar file I was using was incompatible with the axis.jar:
Using the jaxrpc.jar that comes bundled with axis I found I was getting errors javax.xml.soap.SOAPElement.class not found. I therefore got a newer version of jaxrpc from Sun. However that must have contained changes to the javax.xml.rpc.handler.HandlerRegistry which caused Axis to fail.
So I took all the javax.xml.soap classes from the new jaxrpc.jar file and created a new jaxrpc_a.jar file which I added, along with the original axis bundles jaxrpc.jar to the lib dir and to my classpath.
I can now deploy services (although I still get problems with the TestClient that others have mentioned on this list)
Progress!
Alison
> -----Original Message-----
> From: Alison Stevenson
> Sent: 14 August 2002 10:23
> To: axis-user@xml.apache.org
> Subject: NoSuchMethodError : invokeJAXRPCHandlers
>
>
> Hello,
>
> I am having problems both deploying services and trying the
> sample TestClient. In both cases I get
>
> Exception in thread "main" java.lang.NoSuchMethodError
> at
> org.apache.axis.AxisEngine.invokeJAXRPCHandlers(AxisEngine.java:427)
>
> I understand that the AxisEngine class is in the axis.jar
> file which I have in <webroot>axis/WEB_INF/lib.
> I also have jaxrpc.jar in %CATALINA_HOME%/common/lib.
>
> I have both these jar files included in my classpath.
>
> Is there a possibility that I have the 'wrong version' of the
> axis.jar? Seems unlikely since it's the one I downloaded as
> part of the beta 3 release.
>
> Can anyone make a suggestion? Thanks.
>
> (the full error reports are below)
>
> Alison
>
> -----------------------------------------------------------
> C:\axis-1_0\samples\stock>java
> org.apache.axis.client.AdminClient -lhttp://local
> host:8090/axis/services/AdminService deploy.wsdd
> - Processing file deploy.wsdd
> Exception in thread "main" java.lang.NoSuchMethodError
> at
> org.apache.axis.AxisEngine.invokeJAXRPCHandlers(AxisEngine.java:427)
> at
> org.apache.axis.client.AxisClient.invoke(AxisClient.java:173)
> at org.apache.axis.client.Call.invokeEngine(Call.java:2027)
> at org.apache.axis.client.Call.invoke(Call.java:2016)
> at org.apache.axis.client.Call.invoke(Call.java:1232)
> at
> org.apache.axis.client.AdminClient.process(AdminClient.java:316)
> at
> org.apache.axis.client.AdminClient.process(AdminClient.java:295)
> at
> org.apache.axis.client.AdminClient.process(AdminClient.java:302)
> at
> org.apache.axis.client.AdminClient.process(AdminClient.java:253)
> at
> org.apache.axis.client.AdminClient.main(AdminClient.java:338)
> -----------------------------------------------------------
>
> C:\axis-1_0>java samples.userguide.example1.TestClient -p8090
> Exception in thread "main" java.lang.NoSuchMethodError
> at
> org.apache.axis.AxisEngine.invokeJAXRPCHandlers(AxisEngine.java:427)
> at
> org.apache.axis.client.AxisClient.invoke(AxisClient.java:173)
> at org.apache.axis.client.Call.invokeEngine(Call.java:2027)
> at org.apache.axis.client.Call.invoke(Call.java:2016)
> at org.apache.axis.client.Call.invoke(Call.java:1786)
> at org.apache.axis.client.Call.invoke(Call.java:1711)
> at org.apache.axis.client.Call.invoke(Call.java:1251)
> at
> samples.userguide.example1.TestClient.main(TestClient.java:82)
> ------------------------------------------------------------------
>
>