Use of @OneToMany or @ManyToMany targeting an unmapped class exception occuring
问题 I am creating my first Spring-Boot-Starter-data-jpa project. I was following a tutorial on that and creating a separate application in same way. When I am starting my Spring Boot application , I am getting org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is org