I am using Jersy to develeop REST webservices, this is my simple code:
@GET
@Path(\"/retrieveCustomerInformation/{jsonString}\")
@Produces(MediaType.APPLICAT
Your question seems to be a duplicate and has probably been appropriately addressed. I too had the same issue some time ago. Click here to see the accepted answer that resolved it for me
And in case you're reluctant to follow the link, first of all, try adding jersey-multipart.jar
and mimepull.jar
to your project libraries... And if your project is a Maven project, add the following dependencies to your pom.xml
. The mimepull
dependency should ship along with it.
com.sun.jersey.contribs
jersey-multipart
1.8
Remember to ensure that the version of jersey-multipart
that you use, is the same as the version of jersey
that you're using in the project.
Just in case the above solution doesn't resolve your issue, you may want to see here for more useful tips too. Cheers!