-->
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.  [ 1 post ] 
Author Message
 Post subject: Could not load JPA Configuration
PostPosted: Tue Apr 15, 2008 5:51 am 
Newbie

Joined: Tue Apr 15, 2008 5:42 am
Posts: 2
Hii
I am trying to do reverse engineering to generate java code
I am using MYSQL5(INNODB) as DB.I configured eclipse to generate java code for core and annotation option in hibernate configuration console using eclipse.But when i tried for JPA option in hibernate configuration console using eclipse, Its throwing error shown below


org.hibernate.console.HibernateConsoleRuntimeException: Could not load JPA Configuration
Could not load JPA Configuration
org.hibernate.console.HibernateConsoleRuntimeException: Could not create JPA based Configuration
Could not create JPA based Configuration
org.hibernate.console.HibernateConsoleRuntimeException: Could not create JPA based Configuration
Could not create JPA based Configuration
java.lang.reflect.InvocationTargetException: <no message>
java.lang.reflect.InvocationTargetException
javax.persistence.PersistenceException: org.xml.sax.SAXParseException: Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
Premature end of file.

I read few blogs and created META-INF/Persistence.xml in src folder
But still having this issue

Any help will be appreciated

Regards
Anju


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

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.