-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.10.1
-
Component/s: Connection Management
-
None
-
Environment:MongoDb 4, Java version 10, Mongo version 4, java driver for Mongo 3.10.1
-
None
-
None
-
None
-
None
-
None
-
None
-
None
I'm trying to connect to cluster from my Android application and I always get error "java.lang.NoClassDefFoundError: Failed resolution of: Ljavax/naming/directory/InitialDirContext;" while trying to use connection string. If I try to connect to localhost, then it is connected. Upon research I thought it was dependency issues and even downgraded to 3.9 java version of MongoDb too. Still the issue exists.