Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jpa data access with rest api  RSS feed

 
priyanshi bhardwaj
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ERROR:
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.hibernate.AnnotationException: No identifier specified for entity: com.example.jpamavenrest.Entity.Users
how to solve this



 
Dana Ucaed
Ranch Hand
Posts: 323
6
Netbeans IDE Oracle Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What IDE did you use?

I used NetBeans 8.2 to create a REST service from database and was Ok.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!