Sorry about this. Spring boot was picking up the older version even after I put in the newer version. After upgrading the project to spring boot 2.3.1, this issue has been resolved.