if I am running a standalone application, the HTTP post request works
fine. But an ant build of a swing class calling the HTTP post request
gives the error. I tried to include the required jars too.
ยทยทยท
On Tue, Dec 20, 2011 at 21:04, Arindam wrote:
> Hi!
>
> I am trying to build a executable jar application for ODK client to
> download the files from mobile to local system.
>
> I am trying to send HTTP post request with the zip files as a
> multipart entity. The execution of zip file give the following error.
>
> : java.lang.NoClassDefFoundError: org/apache/http/entity/mime/content/
> ContentBody...
>
> if I am running a standalone application, the HTTP post request works
> fine. But an ant build of a swing class calling the HTTP post request
> gives the error. I tried to include the required jars too.
>
> Does anyone has encountered something similar.
>
> regards
> Arindam