We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm getting this error when trying to run my application. I believe I have MongoDB setup correctly as well..
I'm copying the connection string straight out of the MongoDB Compass application.
The text was updated successfully, but these errors were encountered:
You can fix it by adding ${spring.data.mongodb.database} at the end of your URI.
${spring.data.mongodb.database}
Example:
spring.data.mongodb.database=movie-api-db spring.data.mongodb.uri=mongodb+srv://username:password@cluster/${spring.data.mongodb.database}
Replace username, password and cluster in the URI with your credentials.
username
password
cluster
Source: spring-projects/spring-boot#35566
Sorry, something went wrong.
You can fix it by adding ${spring.data.mongodb.database} at the end of your URI. Example: spring.data.mongodb.database=movie-api-db spring.data.mongodb.uri=mongodb+srv://username:password@cluster/${spring.data.mongodb.database} Replace username, password and cluster in the URI with your credentials. Source: spring-projects/spring-boot#35566
Thank you!
No branches or pull requests
I'm getting this error when trying to run my application. I believe I have MongoDB setup correctly as well..
I'm copying the connection string straight out of the MongoDB Compass application.
The text was updated successfully, but these errors were encountered: