• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 865
  • Last Modified:

java.lang.NoClassDefFoundError: org/apache/ws/commons/util/XsDateTimeFormat

Hi,
I am getting the error below,
java.lang.NoClassDefFoundError: org/apache/ws/commons/util/XsDateTimeFormat
      org.apache.xmlrpc.serializer.DateSerializer.<clinit>(DateSerializer.java:29)
do  you know what ".jar" file contains this class please email at 'achilleleleprince73 AT yahoo DOT com' it to me simply show the link
0
komlaaa
Asked:
komlaaa
  • 4
  • 2
  • 2
1 Solution
 
fargoCommented:
0
 
komlaaaAuthor Commented:
but where is the ".jar" or ".zip" file? I can locate it there
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
komlaaaAuthor Commented:
or how to use it in the code below:

                        XmlRpcClient client = new XmlRpcClient();
                        XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
                        
                        config.setServerURL( new URL( endpoint ));
                        client.setConfig( config );

                        Vector params = new Vector(Arrays.asList(new Object[] {"oi-test", email,     checksum, structMap, "dh-wrs" }));

                        status = (String) client.execute("signup_createNewUser", params);
0
 
komlaaaAuthor Commented:
Please instruct me on this, first time using XMLRPC, very urgent.

Full exception:

java.lang.NoClassDefFoundError
      org.apache.xmlrpc.common.XmlRpcController.<init>(XmlRpcController.java:28)
      org.apache.xmlrpc.client.XmlRpcClient.<init>(XmlRpcClient.java:50)
      com.opt.remoting.RemoteRTDTXMLRPCImpl.send(RemoteRTDTXMLRPCImpl.java:49)
      com.opt.oiserver.XMLRPCTransferServlet.doPost(XMLRPCTransferServlet.java:41)
      com.opt.oiserver.XMLRPCTransferServlet.doGet(XMLRPCTransferServlet.java:88)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


                   XmlRpcClient client = new XmlRpcClient(); <=============== LINE 41
                    XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
                   
                    config.setServerURL( new URL( endpoint ));
                    client.setConfig( config );

                    Vector params = new Vector(Arrays.asList(new Object[] {"oi-test", email,     checksum, structMap, "dh-wrs" }));

                    status = (String) client.execute("signup_createNewUser", params);


0
 
Siva Prasanna KumarPrincipal Solutions ArchitectCommented:
http://www.devlib.org/apache/ws/xmlrpc/binaries/xmlrpc-2.0.zip

i think you will get that jar file in this link.

include all the jars inside that zip file.

Thank you.
0
 
komlaaaAuthor Commented:
thanks shivaspk but "org/apache/ws/commons/util/XsDateTimeFormat" is not in the that zip file.

All i am looking for is the zip or .jar file that contains "org/apache/ws/commons/util/XsDateTimeFormat"
0
 
Siva Prasanna KumarPrincipal Solutions ArchitectCommented:
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now