title: Getting error SEVERE: MessageBodyWriter not found for media type=application/xml,
body: <p>Jersey <code>GET/POST</code> call throws following error after upgrading jaxrs and jaxws jar to latest version in my project: </p>
  
  <pre><code>org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor aroundWriteTo
  SEVERE: MessageBodyWriter not found for media type=application/xml, type=class java.util.ArrayList, genericType=java.util.List&lt;javax.xml.bind.JAXBElement&lt;com.play.ClassBase&gt;
  </code></pre>
  
  <p>It is working fine for <code>Accept:application/json</code>, but for <code>application/xml</code>.I am getting error.How to fix it?</p>