Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Can you please add your main class and also your pom.xml? Thanks! Commented Jan 17, 2022 at 22:32
  • I did. Thx for the quick reply.. Commented Jan 17, 2022 at 22:38
  • An attempt was made to call a method that does not exist. The attempt was made from the following location: org.springframework.data.jpa.mapping.JpaPersistentPropertyImpl.getPersistentEntityTypeInformation(JpaPersistentPropertyImpl.java:145) The following method did not exist: 'java.lang.Iterable org.springframework.data.mapping.model.AnnotationBasedPersistentProperty.getPersistentEntityTypeInformation()' I tried to reimport everything but no luck. Commented Jan 17, 2022 at 23:05
  • Add spring-boot-starter-data-jpa remove the spring-data-commons and javax.persistence-api dependencies. Commented Jan 18, 2022 at 6:25