Jersey 2 injection source for multipart formdata

后端 未结 5 937
既然无缘
既然无缘 2020-11-30 07:50

I had a method:

@POST
@Consumes(\"multipart/form-data\")
@Produces( {\"text/xml\"})
public Response processForm(
    @FormDataParam(\"myparam\") InputStream          


        
5条回答
  •  無奈伤痛
    2020-11-30 07:54

    I was using Jersey 2.7 and was getting the same error. It resolved itself by upgrading to Jersey 2.9

提交回复
热议问题