*
The moose likes Web Services and the fly likes Error in uploading file to the server using Jersey Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Error in uploading file to the server using Jersey" Watch "Error in uploading file to the server using Jersey" New topic
Author

Error in uploading file to the server using Jersey

Astha Sharma
Ranch Hand

Joined: Oct 15, 2011
Posts: 249

Hi,

I am trying to upload file to the server from android using Jersey Web Service. I have written the code but there is some problem in the code. It shows error-
A message body reader for Java class com.sun.jersey.core.header.FormDataContentDisposition, and Java type class com.sun.jersey.core.header.FormDataContentDisposition, and MIME media type multipart/form-data was not found
I have added mimepull.jar to the classpath but still this error is getting generated.

This is my front end Java code-

This is my web service-

Please help me understanding what is wrong in this code.
Thanks in advance....


Astha - OCPJP 6 (90%)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error in uploading file to the server using Jersey