John Losty wrote:
You said that there are 5 printouts but I would expect them to be 25. 5 for each thread and 5 for each counter (5x5=25) ?
Hanna Roberts wrote:...and I attached a picture of the error
Rob Spoor wrote:Change the @RequestMapping on getAllSchools to @GetMapping. @RequestMapping by default has no method specified, so it won't listen to any request.
@RequestMapping – the HTTP Method
The HTTP method parameter has no default – so if we don't specify a value, it's going to map to any HTTP request.