Exception:org.hibernate.AnnotationException: mappedBy reference an unknown target entity property
This exception is thrown when Hibernate cannot find the property specified in the mappedBy attribute on the target entity. For instance, if you have a @OneToMany relationship in EntityA mapped…