Hi,
Have you included the JSON dependencies:
https://jersey.dev.java.net/nonav/documentation/latest/user- 
guide.html#d4e1606
?
Paul.
On May 19, 2010, at 5:30 PM, Rahul Juneja wrote:
> I was trying to return json in google app engine and is says Mime  
> type not supported. What can be the possible reason.
>
> My exception & code i am using is as follows.
>
> ****************************************************************************
> Exception
> SEVERE: A message body writer for Java type, class  
> com.thoughtclicks.vo.ApplicationResponse, and MIME media type,  
> application/json, was not found
>
> My Code: is as follows.
>
> @GET
> @Produces("application/json")
> public ApplicationResponse translate(@QueryParam("msisdn") String  
> url) {
>          ApplicationResponse appResponse = new ApplicationResponse();
>          appResponse.setResponse("Some String");
>          return appResponse;
>
> }
>
>
> Also, when i return xml it just works fine.
>
> Any help on this is appreciated.
>
> Thanks,
> Rahul
> ----------------------------------------------------------
> Rahul Juneja
> http://techlabs.thoughtclicks.com