javax.validation 2.0.1 List not working in spring boot

I am new the spring boot developement. I am trying to validate the post request by passing List from @RequestBody. Below is control class @CrossOrigin @RestController @RequestMapping(“/webapi/device”)…