struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Cavaness <struts-u...@japache.org>
Subject Re: log4j and weblogic
Date Fri, 01 Feb 2002 18:03:15 GMT
It seems that maybe you're trying to instantiate a log4j Logger in one of your actions or ActionServlet
like this:

Logger.getInstance( <String> or <class> );

and the class (Logger) can't be found by the class loader. Here's a couple of things to try:

1) Is the log4j.jar in your WEB-INF/lib directory for the web application?
2) The Logger is a new class that is part of log4j 1.2 alpha and didn't exist in earlier version
of log4j (e.g. 1.1.3). Do you have the correct version of log4j.jar in your WEB-INF/lib directory?

Those are two quickies that come to mind.

Chuck
--
Sent via jApache.org

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message