title: Spring boot Jhipster image upload not working
body: <p>I wanted to upload image and some more stuff with form from angular. This is VM object : </p>
  
  <pre><code>public class UserPictureVM {
  
      private MultipartFile file;
  
      private String type;
  
      private String coverPosition;
  </code></pre>
  
  <p>And this is rest method :</p>
  
  <pre><code> @PostMapping("/user/upload-picture")
   @Timed 
   public ResponseEntity&lt;Void&gt; uploadUserPicture(@RequestBody UserPictureVM userPicture){
  </code></pre>
  
  <p>This is Angular method that submit form :</p>
  
  <pre><code>saveCoverImage() {
      const formData: FormData = new FormData();
  
      formData.append('coverPosition', '0, 0');
      formData.append('file', this.coverForm.file);
      formData.append('type', 'cover');
  
      this.profileService.uploadImages(formData)
        .subscribe(res=&gt; {
          console.log(res);
        })
    }
  </code></pre>
  
  <p>But i get error : </p>
  
  <pre><code>Resolved exception caused by Handler execution: org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'multipart/form-data;charset=UTF-8' not supported
  </code></pre>