Getting this as a console help me out please
I am trying to connect my spring boot application with mongondb database but not able to properly connect it i have added dependencies and the connection link in application.properties file but still getting the error as mentioned in a image
2
Answers
to add this – i would try to use something like dbeaver or studiot3 to help investigate the connection string you’re using/generating within your java app.
also review: mongodb+srv://myDatabaseUser:D1fficultP%[email protected]/?authSource=admin
Seems database name is missing in connection url shared. Try out updated url assuming testdb is name of the database
Also with connection url pointing to expected database, below configuration seems redundant