I'm trying to run the test web server using the provided jar file (i.e. I didn't build from source).
It starts fine but produces the following runtime error on the first client request:
java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64
at
at org.apache.xmlrpc.XmlRpc.<init>(XmlRpc.java:193)
at org.apache.xmlrpc.XmlRpcRequestProcessor.<init>(XmlRpcRequestProcessor.java:40)
at org.apache.xmlrpc.XmlRpcWorker.<init>(XmlRpcWorker.java:43)
at org.apache.xmlrpc.XmlRpcServer.createWorker(XmlRpcServer.java:180)
at org.apache.xmlrpc.XmlRpcServer.getWorker(XmlRpcServer.java:170)
at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:136)
at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:125)
at org.apache.xmlrpc.WebServer$Connection.run(WebServer.java:746)
at org.apache.xmlrpc.WebServer$Runner.run(WebServer.java:626)
at java.lang.Thread.run(Thread.java)
I've downloaded the jar file in which the missing class should be found and included it in my classpath. I've run jar -tvf on commons-codec-1.3.jar to verify that the class is indeed there.
Here's the batch file I use to run the server:
setenv CLASSPATH .:./commons-codec-1.3.jar:${CLASSPATH}:./xmlrpc-2.0.jar
echo $CLASSPATH
java org.apache.xmlrpc.WebServer
I've tried several ways of ordering the CLASSPATH items, but nothing fixes the problem.
Any ideas?
Thanks,
Steve Yost
