title: Could not find writer for content-type application/xml type
body: <p>I am following this solution to try and eliminate my issue, but am failing miserably: <a href="https://stackoverflow.com/questions/14365515/resteasy-could-not-find-writer-for-content-type-application-json-type">RESTEasy: Could not find writer for content-type application/json type</a></p>
  
  <p>Here are my maven dependencies:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.jboss.resteasy&lt;/groupId&gt;
      &lt;artifactId&gt;resteasy-jaxrs&lt;/artifactId&gt;
      &lt;version&gt;2.2.1.GA&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
      &lt;artifactId&gt;jackson-mapper-asl&lt;/artifactId&gt;
      &lt;version&gt;1.9.9&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;javax.xml.bind&lt;/groupId&gt;
      &lt;artifactId&gt;jaxb-api&lt;/artifactId&gt;
      &lt;version&gt;2.2.12&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Here is a XML class that I created that I marshall/unmarshall.</p>
  
  <pre><code>@XmlAccessorType(XmlAccessType.FIELD)
  @XmlRootElement(name = "Cools")
  public class CoolXml {
  
      @XmlAttribute
      private Boolean isCool;
  
      public Boolean getIsCool() {
          return isCool;
      }
  
      public void setIsCool(final Boolean isCool) {
          this.isCool = isCool;
      }
  }
  </code></pre>
  
  <p>When calling the endpoint with this code, the last line generates the error:</p>
  
  <pre><code>final String url = "http://localhost:8080/sample/getcools";
  final ClientRequest request = new ClientRequest(url);
  request.header(HttpHeaderNames.ACCEPT, MediaType.APPLICATION_XML);
  final CoolXml req = new CoolXml(project);
  request.body("application/xml", req);
  final ClientResponse&lt;CoolXmlResponse&gt; response = request.post(CoolXmlResponse.class);
  </code></pre>
  
  <p>I get the super annoying error: </p>
  
  <pre><code> java.lang.RuntimeException: could not find writer for content-type application/xml type: cool.CoolXml
  </code></pre>
  
  <p>Do I need any additional dependencies?</p>