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