MongoTemplate.getCollectionNames and MongoTemplate,collectionExists method throws StringIndexOutOfBoundsException

后端 未结 0 1795
失恋的感觉
失恋的感觉 2021-01-22 04:57

I am trying to get the list of collections on a database. My application uses spring-boot 2.4.1 and MongoDB. Below is the code block.

String uri= "mongodb://         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题