Javatpoint Logo

How to Please initialize the log4j system properly?

By: kulkar*** On: Tue Jun 09 00:31:16 IST 2015     Question Reputation0 Answer Reputation0 Quiz Belt Series Points0  0Blank User
I tried to run examples given on javatpoint for hibernate and spring but both the time I got below error.

log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.

I searched over net and added sample log4j file but still problem exists. Could you please help me to resolve my problem as I am quite new to this.
Up0Down
hibernate  x  70spring  x  58Tags

 
it just a warning from server nothing more than that.

either add compatible log4j.jar file in your lib folder or ignore it.
Image Created0Down

By: [email protected] On: Sat Jun 13 13:06:32 IST 2015 Question Reputation0 Answer Reputation0 Belt Series Points0 0User Image
Are You Satisfied :0Yes0No
 
I am ignoring it and project also executed successfully.Image Created0Down

By: [email protected] On: Sat Jun 13 15:37:11 IST 2015 Question Reputation0 Answer Reputation0 Belt Series Points0 0User Image
Are You Satisfied :0Yes0No