Upgrade to a newer version of the Log4j api.

Geir

-----Opprinnelig melding-----
Fra: Hohlen, John [mailto:[EMAIL PROTECTED]] 
Sendt: 9. januar 2003 22:14
Til: Struts-User (E-mail)
Emne: Using Log4J (v1.1.3) With Jakarta Commons Logging


My team is currently using version 1.1.3 of Log4J.  We're design our
code to use the Jakarta Commons Logging API.  Our
"commons-logging.properties" file contains the following:

org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Lo
g4jF
actory

However, when we start our application server, we're getting a
"NoClassDefFoundError" for:

 org/apache/log4j/Logger

I realize this is because the Logger class was added in a more recent
version of Log4J.  So my question is, Can I use Commons Logging with
Log4J version 1.1.3.  If yes, how do I get around this run-time error?

Thanks,

JOHN

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to