-->
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: Can anybody understand this ?
PostPosted: Sat Jun 05, 2004 3:38 am 
Beginner
Beginner

Joined: Sun Sep 07, 2003 9:04 am
Posts: 48
I am using hibernate synchronizer with C:\eclipse-SDK-3.0M9-win32,
I have generated all my xml files with the wizard.
but when I run my main class
all the xml files are founded except.
/hibernate.cfg.xml
but there located in the same palce.
thanks
***********************************************************
(cfg.Environment 462 ) Hibernate 2.1.4
(cfg.Environment 491 ) hibernate.properties not found
(cfg.Environment 522 ) using CGLIB reflection optimizer
(cfg.Configuration 872 ) configuring from resource: /hibernate.cfg.xml
(cfg.Configuration 844 ) Configuration resource: /hibernate.cfg.xml
(cfg.Configuration 848 ) /hibernate.cfg.xml not found
net.sf.hibernate.HibernateException: /hibernate.cfg.xml not found
at net.sf.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:849)
at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:873)
at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:860)
at src.base._BaseRootDAO.initialize(_BaseRootDAO.java:50)
at src.base._BaseRootDAO.initialize(_BaseRootDAO.java:37)
at src.Test2.main(Test2.java:24)
Exception in thread "main"


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.