Unable to create session after MongoDB migration from version 2.2 to 3.6 while using ReactiveStreams Java driver

Hi,

     HighLevel Problem statement: We are getting the exception "com.mongodb.MongoClientException: Sessions are not supported by the MongoDB" while creating the session from the MongoClient API when using ReactiveStreams MongoDB Java driver version 3.6.0.

  Recently we have migrated from MongoDB version 2.2 to 3.6.
   We used ReactiveStreams MongoDB Java driver version 3.6.0

A search on this error brings up this relevant post suggesting that the upgrade from 3.4 to 3.6 was not completed correctly.