null pointer exception,
December 8, 2009 at 3:13 PM
I have tried to run the above example in eclipse, however, it is giving the error as "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" java.lang.NullPointerException at com.test.hibernate.FirstExample.main(FirstExample.java:32)"