Java
T
point
Home
Core Java
Servlet
JSP
Struts2
Mail API
Hibernate
Spring
Android
Design Pattern
Projects
Interview Q
View All Questions
Ask New Question
in hibernate program
By:
satyen***
On:
Thu Oct 29 17:58:44 IST 2015
0
0
0
0
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" org.hibernate.HibernateException: Could not parse configuration: hibernate.cfg.xml
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1491)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1425)
at com.javatpoint.mypackage.StoreData.main(StoreData.java:14)
Caused by: org.dom4j.DocumentException: Error on line 2 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
how to solve this problem
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1481)
... 2 more
0
0
By:
[email protected]
On:
Wed Nov 04 14:10:18 IST 2015
0
0
0
0
Are You Satisfied :
0Yes
0No