Spring MVC 415 Type de support non pris en charge

Je suis à l'aide de Printemps 3.2 et essayez d'utiliser ajax requête post pour présenter un tableau d'objets json. Si cela est pertinent, j'ai échappé à tous les caractères spéciaux.

Je reçois un Statut HTTP de 415.

Mon contrôleur est:

@RequestMapping(value = "/save-profile", method = RequestMethod.POST,consumes="application/json")
    public @ResponseBody String saveProfileJson(@RequestBody String[] profileCheckedValues){
        System.out.println(profileCheckedValues.length);
        return "success";
    }

jquery est:

jQuery("#save").click(function () {
        var profileCheckedValues = [];
        jQuery.each(jQuery(".jsonCheck:checked"), function () {
            profileCheckedValues.push($(this).val());
        });
        if (profileCheckedValues.length != 0) {
            jQuery("body").addClass("loading");
            jQuery.ajax({
                type: "POST",
                contentType: "application/json",
                url: contextPath + "/sample/save-profile",
                data: "profileCheckedValues="+escape(profileCheckedValues),
                dataType: 'json',
                timeout: 600000,
                success: function (data) {
                    jQuery('body').removeClass("loading");
                },
                error: function (e) {
                    console.log("ERROR: ", e);
                    jQuery('body').removeClass("loading");
                }
            });
        }
    });

et un exemple de l'un des objets de la matrice je suis l'affichage est le suivant json:

{
  "id": "534213341",
  "name": "Jack Lindamood",
  "first_name": "Jack",
  "last_name": "Lindamood",
  "link": "https://www.facebook.com/jack",
  "username": "jack",
  "gender": "male",
  "locale": "en_US",
  "updated_time": "2013-07-23T21:13:23+0000"
}

L'erreur est:

The server refused this request because the request entity is in a format not supported by the requested resource for the requested method

Pourquoi est-ce une erreur se - personne ne sait?

source d'informationauteur jackyesind | 2013-08-07