title: No Multipart Configuration for Spring boot version 2.3.1
body: <p>I am creating an application and want to send user data along with his profile picture. I am using reactjs for frontend and java 1.8 with spring boot 2.3.1. I researched for 3 days and everywhere I see that we can send the user data and profile picture file as multipart form data from UI and then do the following in my controller to get the two different data.</p>
  <p><code>public ResponseEntity&lt;String&gt; saveUser(@RequestParam(&quot;user&quot;) String stringUserRequest, @RequestParam(&quot;file&quot;) MultipartFile file)</code></p>
  <p>Here the user data is actually a JSON but is converted to a string and sent from UI.</p>
  <p>But this keeps throwing the below error</p>
  <p><code>org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is java.lang.IllegalStateException: Unable to process parts as no multi-part configuration has been provided</code></p>
  <p>I have searched a lot and it has something to do with the servelet version being higher than 3.0. There are a lot of questions regarding the same but all of them are for spring framework and not for spring boot in particular and have tried them also but nothing seems to work.</p>
  <p>Can anyone tell me either how to create this Multipart Config for spring boot or how to degrade the servelet version?</p>