tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap
Date Sun, 02 Dec 2007 23:03:19 GMT
> From: mgainty@hotmail.com [mailto:mgainty@hotmail.com] 
> Subject: Re: java.lang.NoClassDefFoundError: 
> org/apache/commons/collections/SequencedHashMap
> 
>  Directory of %CATALINA_HOME%\common\lib
> 06/15/2004  08:29p              26,202 commons-logging-api.jar
> 
>  Directory of %CATALINA_HOME%\webapps\EncryptView\WEB-INF\lib
> 06/15/2004  08:29p              38,015 commons-logging.jar.old
> (unusable)

You can try putting commons-logging.jar (not commons-logging-api.jar) in
common/lib, and see what happens.  However, this is not likely to work,
since commons-logging usually needs other classes often supplied by the
webapp (e.g., log4j-xxx.jar) in order to actually create a functional
logger - which is what's happening in your example.  Moving these other
classes to common/lib can easily conflict with Tomcat's own logging,
causing Tomcat not to run at all.  You should pick something simpler
(less dependencies) from your app to test with and move that jar or
class to common/lib.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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


Mime
View raw message