Spring MVC - @RequestParam causing MissingServletRequestParameterException with x-www-form-urlencoded
问题 The follwing Spring MVC code throws MissingServletRequestParameterException, @Controller @RequestMapping("/users") public class XXXXResource extends AbstractResource { ..... @RequestMapping(method = RequestMethod.PUT , produces = {"application/json", "application/xml"} , consumes = {"application/x-www-form-urlencoded"} ) public @ResponseBody Representation createXXXX(@NotNull @RequestParam("paramA") String paramA, @NotNull @RequestParam("paramB") String paramB, @NotNull @RequestParam("paramC"