Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2490

Wrong content type for JAX-RS errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.2.5, 2.3
    • JAX-RS
    • None

    Description

      When my JAX-RS service suffers from:

      ".No message body writer found for response class : ArrayList"

      The content type of the error message is text/xml, and should be text/plain.

      Server: Apache-Coyote/1.1
      Date: Wed, 21 Oct 2009 19:42:33 GMT
      Content-Type: text/xml
      Content-Length: 61
      Connection: close

      500 Internal Server Error

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            bmargulies Benson Margulies
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: