I have a controller with a MultipartConfig annotation (a snippet of which is show below):
MultipartConfig
@RestController @RequestMapping(\"packages\") @MultipartCo
On deployment, where the values are inserted via jenkins script, no "-" is allowed. Use:
env: - name: SPRING_SERVLET_MULTIPART_MAXREQUESTSIZE value: "10MB" - name: SPRING_SERVLE value: "10MB"