I am following a tutorial of Hibernate with Spring. I am trying to add a User object to the database. I am getting the following error: "org.hibernate.AnnotationException: Unknown mappedBy in: com.infiniteskills.data.entities.User.credential, referenced property unknown: com.infiniteskills.data.entities.Credential.user
"
These are my classes
This is pom.xml
"
These are my classes
This is pom.xml