• Post Reply Bookmark Topic Watch Topic
  • New Topic

No Persistence provider for EntityManager  RSS feed

 
Isaac Ferguson
Ranch Hand
Posts: 1056
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I get this error when working with Hibernate:



It looks like that I have all the jars in place.

Any idea?

Regards, Isaac
 
Roel De Nijs
Sheriff
Posts: 11077
173
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isaac Ferguson wrote:It looks like that I have all the jars in place.

Do you have the hibernate-entitymanager.jar on your classpath? With Maven something like
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!