java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getParts()Ljava/util/Collection;

Stack Overflow | Warner | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getParts()

    Stack Overflow | 3 years ago | Warner
    java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getParts()Ljava/util/Collection;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      javax.servlet.http.HttpServletRequest.getParts()Ljava/util/Collection;

      at org.springframework.web.multipart.support.StandardMultipartHttpServletRequest.<init>()
    2. Spring
      StandardServletMultipartResolver.resolveMultipart
      1. org.springframework.web.multipart.support.StandardMultipartHttpServletRequest.<init>(StandardMultipartHttpServletRequest.java:57)
      2. org.springframework.web.multipart.support.StandardServletMultipartResolver.resolveMultipart(StandardServletMultipartResolver.java:58)
      2 frames
    3. Spring MVC
      FrameworkServlet.doPost
      1. org.springframework.web.servlet.DispatcherServlet.checkMultipart(DispatcherServlet.java:1020)
      2. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:883)
      3. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
      4. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
      5. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
      5 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    5. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
      2 frames
    6. Spring ORM
      OpenEntityManagerInViewFilter.doFilterInternal
      1. org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:147)
      1 frame