org.springframework.data.mapping.PropertyReferenceException: No property _id found for type com.entity.User

Spring JIRA | 李黄河 | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Autowired JpaRepository is always null

    Stack Overflow | 4 years ago | Vineet
    org.springframework.data.mapping.PropertyReferenceException: No property find found for type com.myclassregister.model.base.misc.School at org.springframework.data.mapping.PropertyPath.<init>(PropertyPath.java:75)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    How to write Spring Data method name to retrieve all elements in a column?

    Stack Overflow | 4 years ago | m3th0dman
    org.springframework.data.mapping.PropertyReferenceException: No property find found for type Trade at org.springframework.data.mapping.PropertyPath.<init>(PropertyPath.java:75)
  4. 0

    How to perform Sum on a Map Key in the Mongo DB document within Spring

    Stack Overflow | 3 years ago | Puneet Pal
    org.springframework.data.mapping.PropertyReferenceException: No property work found for type java.lang.String at org.springframework.data.mapping.PropertyPath.<init>(PropertyPath.java:75)

  1. Axelo 3 times, last 3 weeks ago
  2. Malcshour 2 times, last 11 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.springframework.data.mapping.PropertyReferenceException

    No property _id found for type com.entity.User

    at org.springframework.data.mapping.PropertyPath.<init>()
  2. Spring Data Core
    PropertyPath.from
    1. org.springframework.data.mapping.PropertyPath.<init>(PropertyPath.java:75)
    2. org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:327)
    3. org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:307)
    4. org.springframework.data.mapping.PropertyPath.from(PropertyPath.java:271)
    5. org.springframework.data.mapping.PropertyPath.from(PropertyPath.java:245)
    5 frames