Unable to parse request: org.apache.commons.fileupload.FileUploadBase$InvalidContentTypeException

Solution Verified - Updated -

Issue

  • Getting a warning:

    13:15:37,878 WARN  [org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest] (http-/10.88.253.250:8080-77) Unable to parse request: org.apache.commons.fileupload.FileUploadBase$InvalidContentTypeException: the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is %{(#_='multipart/form-data')
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.4.0
  • struts2
    • 2.3.28.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.