You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use the Mongo 3.0 Java driver, spring.data.mongodb.host and spring.data.mongodb.port are not supported. In such cases, spring.data.mongodb.uri should be used to provide all of the configuration.
As title, the lastest version of mongo, not allow seperate setting under application properties and cause authentication errors.
ref.
The following uri setting works.
Before starts the app, should run the following commands to create db admin with user name as admin and password as 123456.
code
The text was updated successfully, but these errors were encountered: