JAX-RS Multipart with com.sun.jersey
问题 I have a REST service hosted inside Karaf, which is working fine with all requests except for multipart requests. I'm using the com.sun.jersey packages, as I have only succeeded in hosting these inside of Karaf to be accessed over HTTP. When I try to receive the HttpServletRequest inside the POST and call the getParts() method on it, I get the error: IllegalStateException: No multipart config for servlet I have found that I am missing the @MultipartConfig annotation on my servlet, so I added