-
Type: Task
-
Resolution: Works as Designed
-
Priority: Critical - P2
-
None
-
Affects Version/s: None
-
Component/s: None
-
Environment:Databricks
Scala Version : 2.12 but I cannot
Hi, I am using Scala to connect to MongoDB Atlas cluster and I got the issue :
NoSuchMethodError: com.mongodb.MongoClientSettings.getServerApi()Lcom/mongodb/ServerApi;
The tutorial that I followed: https://docs.mongodb.com/drivers/scala/
Used library:
org.mongodb.spark:mongo-spark-connector_2.12:3.0.1
org.mongodb.scala:mongo-scala-driver_2.12:4.3.1
It looks like I miss libraries from Mongodb, what is that? **
If not, what is this issue?
Thank you