0

Hi.. Is anybody familiar with the spring 5.x version with spring data. I am currently using spring 5.2.9 version and spring-data-mongodb 3.0.3.RELEASE. When i tried saving data i am getting below error. java.lang.NoSuchMethodError: com.mongodb.client.MongoCollection.insertOne(Ljava/lang/Object;)Lcom/mongodb/client/result/InsertOneResult;

Comments
  • 0
    Looks like this two versions don't work with each other. Check the mongo docs to see which ones are compatible
Add Comment