I have the following resource (implemented using Spring 4.05.RELEASE) which accepts a file and a JSON object:
(P.S. activityTemplate is a serializable entity class)<
Couldn't you change your
@RequestMapping(value="/create", method=RequestMethod.POST)
to
@RequestMapping(value="/create", method=RequestMethod.POST, consumes ={"multipart/form-data"})