Why return ""? Do you just want to return 200OK? In that case use @ResponseStatus(HttpStatus.OK) instead of @ResponseBody