com.mongodb.MongoClientSettings not able to import

Getting the follwing error while running

Error:(3, 19) java: cannot find symbol
      symbol:   class MongoClientSettings
      location: package com.mongodb

is this anything to do with mongodb-java-driver?
I am using version 3.9.1(latest)

Hi @Sourabh_06513,

You probably do not need to use MongoClientSettings. However, if you check the documentation of this class ( you will see that this is a static class.