title: CXF: WARNING: No message body writer has been found for response class ArrayList
body: <p>I'm getting the following error:</p>
  
  <pre><code>WARNING: No message body writer has been found for response class ArrayList.</code></pre>
  
  <p>On the following code:</p>
  
  <p><pre><code>    @GET
      @Consumes("application/json")
      public List getBridges() {
          return  new ArrayList(bridges);
      }
  </pre></code></p>
  
  <p>I know it's possible for CXF to handle this case because I've done it before - with a platform that defined the CXF and related maven artifacts behind the scenes (i.e. I didn't know how it was done).</p>
  
  <p>So, the <b>question</b>: how can I get CXF to support this without adding XML bindings or other source code modifications?</p>
  
  <p>Note the following answer addressed the same problem with XML bindings, which is not satisfactory for my case:
  <a href="https://stackoverflow.com/questions/9311396/no-message-body-writer-has-been-found-for-response-class-arraylist">No message body writer has been found for response class ArrayList</a></p>