05-31-2013 12:54 PM
Hi,
I'm trying to create a JAX-RS service to hand file uploads. I'm using the code from http://puspendu.wordpress.com/2012/08/23/restful-webservice-file-upload-with-jersey/.
However, when I upload a file, I get the following 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; boundary=----WebKitFormBoundary07ilrug6EWQ3NpB2 was not found. The registered message body readers compatible with the MIME media type are: / -> com.sun.jersey.core.impl.provider.entity.FormProvider com.sun.jersey.core.impl.provider.entity.MimeMultipartProvider com.sun.jersey.core.impl.provider.entity.StringProvider ....
What can be the issue here? The JAR containing those classes are in the SDK.
Thanks
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.