This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.