-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: No Persistence provider for EntityManager named example???
PostPosted: Fri Feb 22, 2008 1:13 pm 
Newbie

Joined: Thu Jan 17, 2008 1:12 pm
Posts: 8
Hi I am using Hibernate with Java persistence API.
I have a strange problem.I have created a project and it runs succesfully.
However when i create another project whose strucutre( persistence.xml and all configuration files) are exactly the same, the project throws an exception "No Persistence provider for EntityManager named example"..
is there any reason for that? am i doin something wrong?
any advice???


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 03, 2008 1:24 pm 
Newbie

Joined: Sat May 03, 2008 1:19 pm
Posts: 1
put the "hibernate-entitymanager.jar" in /lib application and add in classpath.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.