org.springframework.web.multipart.MultipartException: The current request is not a multipart request

Stack Overflow | Moazzam | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    The current request is not a multipart request in angularJS and Spring Rest

    Stack Overflow | 6 months ago | Moazzam
    org.springframework.web.multipart.MultipartException: The current request is not a multipart request

    2 unregistered visitors

    Root Cause Analysis

    1. org.springframework.web.multipart.MultipartException

      The current request is not a multipart request

      at org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.assertIsMultipartRequest()
    2. Spring
      RequestParamMethodArgumentResolver.resolveName
      1. org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.assertIsMultipartRequest(RequestParamMethodArgumentResolver.java:216)
      2. org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.resolveName(RequestParamMethodArgumentResolver.java:167)
      2 frames