| Author |
Exception in example Using Hibernate Entity Manager in 2nd chapter of Java Persistence WithHibernate
|
Deepaks Deshpande
Ranch Hand
Joined: Dec 06, 2007
Posts: 95
|
|
Hi,
I am trying out the hello world example in the 2nd chapter (sesction 2.2.2 Using Hibernate Entity Manager)of Manning's Java Persistence with Hibernate book.
I have created a simple java project in eclipse called HibernateEntityManager. I have included the following jars in the lib folder.
I have the "persistence.xml" file under the META_INF directory which is placed under the src directory.
When I am running this application It is giving me the following exception
I have googled regarding the exception and its cause but i have been unable to find any solution for the same.
Thank you.
|
Regards,
Deepak
|
 |
Deepaks Deshpande
Ranch Hand
Joined: Dec 06, 2007
Posts: 95
|
|
Hi guys,
I have solved this problem. It is due to duplicate dependencies because of additional jars. Now the required jar for this application are
Thank you.
|
 |
 |
|
|
subject: Exception in example Using Hibernate Entity Manager in 2nd chapter of Java Persistence WithHibernate
|
|
|