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.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.