You need the Commons Logging jar, but that's just a wrapper to allow you to
use Log4J, JDK 1.4 logging, etc. If you have Log4J in your classpath,
Commons Logging will find that and use it.

--
Martin Cooper


> -----Original Message-----
> From: Jason Novotny [mailto:novotny@;aei.mpg.de]
> Sent: Thursday, November 07, 2002 5:04 PM
> To: [EMAIL PROTECTED]
> Subject: using commons components and logging
> 
> 
> 
> Hi,
> 
>     I wanted to use the FileUpload classes and then I found 
> out I needed 
> beanutils.jar. OK, yet another Jar in my classpath, so far so 
> good. Then 
> however, I get another class not found exeception
> 
> java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
>       at 
> org.apache.commons.beanutils.MethodUtils.(MethodUtils.java:91)
> 
> since it needs the logging component. My code already uses 
> Log4J which 
> I've been pretty happy with-- isn't there some properties 
> file I can set 
> to use log4j or setting a method call-- or do I really need 
> yet another 
> logging library?
> 
>     Thanks, Jason
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:commons-dev-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:commons-dev-help@;jakarta.apache.org>
> 
> 


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@;jakarta.apache.org>

Reply via email to