HI, When i am trying to run my first program ki am finding the following errors:
log4j:WARN No appenders could be found for logger (net.sf.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system properly. java.lang.ExceptionInInitializerError at com.ats.axsis.service.workflow.demo.EmpTest.<clinit>(EmpTest.java:32) Caused by: net.sf.hibernate.HibernateException: /hibernate.cfg.xml not found at net.sf.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:872) at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:896) at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:883) at com.ats.axsis.service.workflow.demo.EmpTest.<clinit>(EmpTest.java:28) Exception in thread "main"
please provide a solution to this... Thanks in advance venkat Dasari
### enable the following line if you want to track down connection ### ### leakages when using DriverManagerConnectionProvider ### log4j.logger.net.sf.hibernate.connection.DriverManagerConnectionProvider=trace
that logs alot of info, so turn off whatever you don't want to see.
posted 15 years ago
HI, Thans for the help..It worked well.
Regards,<br />Venkat Dasari<br />SCJP 1.4, SCBCD.
He's giving us the slip! Quick! Grab this tiny ad!