Hello !

I've just switched to xmlrpc 2.0 , from 1.2beta.

I'm getting this error when i tried to launch an xmlrpc client . The server 
works fine until it process a xmlrpc request.

java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException
at org.apache.xmlrpc.XmlRpc.createTypeFactory(XmlRpc.java:238)
at org.apache.xmlrpc.XmlRpc.<init>(XmlRpc.java:193)
at org.apache.xmlrpc.XmlRpcClientResponseProcessor.<init>(
XmlRpcClientResponseProcessor.java:48)
at org.apache.xmlrpc.XmlRpcClientWorker.<init>(XmlRpcClientWorker.java:43)
at org.apache.xmlrpc.XmlRpcClient.getWorker(XmlRpcClient.java:347)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:190)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177)
at WSClient.main(WSClient.java:95)

(line 95 is : Integer result = (Integer) xmlrpc.execute("add",v2);
So I imported the commons-codec lib (as a jar, like xmlrpc) from apache and 
then it worked fine.
But it's not written in the Readme.

I think that the jar should be rebuild with commons-codecs in it or that 
this dep should at least be put in the Readme.

regards.

Nicolas.

Reply via email to