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
|
|