Hi,
After I upgraded to Hibernate 2.1 from 2.0.3, I'm getting this error.
Code:
log4j:WARN No appenders could be found for logger (net.sf.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
Supposedly, the file log4j.properties or log4j.xml cannot be found, and this causes the error. When I was running Hibernate 2.0.3, this error would occur occasionally when I started Tomcat after some library modifications. After reverting back it would be fine. Sometimes a restart would do it.
Now, after the upgrade, I'm having this error again, and I'm intent on finding out what is actually causing it all the time.
The log4j.properities file is located in the WEB-INF\classes directory and has always been there, and always worked fine.
What libraries can possibly intervene and cause this error?