when i am executing the hibernate application the following error occured.
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). /hibernate.cfg.xml not found log4j:WARN Please initialize the log4j system properly. Exception in thread "main" java.lang.NullPointerException at FirstExample.main(FirstExample.java:37) Java Result: 1 BUILD SUCCESSFUL (total time: 2 seconds) can you tell me the solution for this
Please visit the following link:
I was practiced the same application in mentioned link.i run the application in netbeans IDE.but its not work.