Comments on: Hibernate Hello World Program (Hibernate Insert Query) Get it YourSelf Fri, 19 May 2017 07:50:16 +0000 hourly 1 By: jack Fri, 10 Mar 2017 07:06:46 +0000 Could not find or load main class antlr.debug.misc.ASTFrame

By: praphulla Thu, 08 Sep 2016 04:32:45 +0000 Hello Sir,
I have loaded the postgres driver for my Hibernate application but not able to connect to Database it is showing following error ,please help me..
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.exception.JDBCConnectionException: Cannot open connection
at org.hibernate.exception.SQLStateConverter.convert(
at org.hibernate.exception.JDBCExceptionHelper.convert(

By: mahendra Sun, 14 Aug 2016 04:31:39 +0000 Hi java4s team,

I executed program in eclipse but i got one exception. The exception i mention bellow.

Exception in thread “main” org.hibernate.HibernateException: Could not parse configuration: hibernate.cfg.xml
at org.hibernate.cfg.Configuration.doConfigure(
at org.hibernate.cfg.Configuration.configure(
at san.StoreData.main(
Caused by: org.dom4j.DocumentException: Error on line 3 of document : The document type declaration for root element type “hibernate-configuration” must end with ‘>’. Nested exception: The document type declaration for root element type “hibernate-configuration” must end with ‘>’.
at org.hibernate.cfg.Configuration.doConfigure(
… 2 more

Please give me replay as soon as possible.

thank you