java.lang.NoSuchMethodError: org.springframework.data.mongodb.core.mapping.MongoPersistentEntity.hasVersionProperty()Z

Stack Overflow | anukuls | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.lang.NoSuchMethodError Error while connecting mongoDb through Spring

    Stack Overflow | 6 months ago | anukuls
    java.lang.NoSuchMethodError: org.springframework.data.mongodb.core.mapping.MongoPersistentEntity.hasVersionProperty()Z

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.springframework.data.mongodb.core.mapping.MongoPersistentEntity.hasVersionProperty()Z

      at org.springframework.data.mongodb.core.MongoTemplate.initializeVersionProperty()
    2. Spring Data MongoDB - Core
      MongoTemplate.insert
      1. org.springframework.data.mongodb.core.MongoTemplate.initializeVersionProperty(MongoTemplate.java:669)
      2. org.springframework.data.mongodb.core.MongoTemplate.doInsert(MongoTemplate.java:651)
      3. org.springframework.data.mongodb.core.MongoTemplate.insert(MongoTemplate.java:613)
      4. org.springframework.data.mongodb.core.MongoTemplate.insert(MongoTemplate.java:604)
      4 frames
    3. com.storeApp.core
      StoreMainApp.main
      1. com.storeApp.core.StoreMainApp.main(StoreMainApp.java:33)
      1 frame