File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Log4j problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Log4j problem" Watch "Log4j problem" New topic

Log4j problem

Swaroop Reddy
Ranch Hand

Joined: Feb 25, 2009
Posts: 34
Hi All,
I have created an Spring with hibernate application all the things are looking fine but when i start server its causing
log4j:WARN No appenders could be found for logger (org.springframework.web.conte
log4j:WARN Please initialize the log4j system properly.
Jul 14, 2009 8:07:26 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jul 14, 2009 8:07:26 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/Spring] startup failed due to previous errors

I till now never used log4j ,whats the problem actually causing to my application

Some information I got from forums are
provide or log4j.xml on the classpath

where do i need to set it and how do i need to set it,i dont know any thing about it please help me

Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

Google is your friend...

Log4J is an Apache project for logging.

The Wikipedia page on log4J is also very informative.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: Log4j problem
It's not a secret anymore!