tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Log4j logging doesn't work when a web application is moved outside Tomcat/webapps directory
Date Tue, 04 May 2010 23:28:43 GMT
Joe Hansen wrote:
> Chuck, please note that when commons-logging.jar is present only in
> the WEB-INF/lib directory,
> I get the following error:
> java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
> 
> So, either I get
> a) Invalid class loader hierarchy.  You have more than one version of
> 'org.apache.commons.logging.Log' visible, which is not allowed.
> 
> or
> 
> b) java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
> 
Really adventuring into areas unknown to me here, but might there not by 
any chance be /another/ webapp, in which you did /not/ in that case give 
its own copy of the jar of its own ?
(like under server/webapps ?)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message