这是我的springboot配置mongodb的properties
spring.data.mongodb.uri=mongodb://username:password#@yoururl:port/xfind?replicaSet=mgset-5652935,dds-bp14d30374d4cbb42723-pub.mongodb.rds.aliyuncs.com:3717
com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=null, userName='root', source='xfind', password=<hidden>, mechanismProperties={}}
相关分类