Spring Boot + Jersey type filter - Bad request 400 for service Consumes MULTIPART_FORM_DATA
I'm using Spring boot v1.5.10 + Jersey v2.25.1, configured jersey as filter to access static folder files. I'm getting HTTP response 400 Bad Request for a service consuming MULTIPART_FORM_DATA . Props to configure Jersey as filter. spring.jersey.type=filter If I remove above property i.e., using Jersey as Servlet, the service is working, but I'm not able to access static folder. Here is the controller, @POST @Path("/save") @Consumes(MediaType.MULTIPART_FORM_DATA) @Produces(MediaType.APPLICATION_JSON) public ResponseBean save( @FormDataParam("fileToUpload") InputStream file, @FormDataParam(