MessageBodyWriter not found for media type=application/json
I'm making a small RESTful service using Jetty. Using Maven as the build tool. When I try to call a GET method that tries to access a JSON representation of an object, I get an "MessageBodyWriter" error. The method in question is as follows, @Path("/gtfs-rt-feed") public class GtfsRtFeed { @GET @Produces(MediaType.APPLICATION_JSON) public Response getGtfsRtFeed(){ GtfsRtFeedModel feedInfo = new GtfsRtFeedModel(); feedInfo.setStartTime(121334); feedInfo.setGtfsId(1); feedInfo.setGtfsUrl("http://www.google.com"); Gson gson = new Gson(); return Response.ok(feedInfo).build(); } ... The