title: MessageBodyWriter not found for media type REST API
body: <p>Dears,</p>
  <p>When trying to read from database i get following errors. Any idea how this could be resolved? I use Tomcat</p>
  <pre><code>org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyWriter not 
  found for media type=application/json, type=class java.util.Vector, 
  genericType=java.util.List&lt;xxxxx&gt;.
  
  javax.servlet.ServletException: 
  org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyWriter not 
  found for media type=application/json, type=class java.util.Vector, 
  genericType=java.util.List&lt;xxxxx&gt;.
  org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:333)
  org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:372)
  org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:335)
  org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:218)
  org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  </code></pre>