add the @RequestMapping in the at the beginning of the controller and add it at the beginnig of method too