I have always used the view resolver in spring bean instead of passing jsp name with extension in controller. You need the pass the jsp name without extension in this case just index and the view resolver will resolve it. It works fine. I believe this is the issue.
Also you should use just
@Controller annotation instead of
@RestController if you dont have specfic requirement