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 Mon, 03 Dec 2007 01:01:28 GMT
> From: Tom Robinson [mailto:tom@constantstream.com] 
> Subject: Re: java.lang.NoClassDefFoundError: 
> org/apache/commons/collections/SequencedHashMap
> 
> The WEB-INF/lib location works for my specific app 
> and gives it independence from the admin app if that's
> using a different version. Placing it in commons/lib 
> might confuse the other app.

No might about it.  Any time the same class appears in more than one
location in a given branch of the classloader tree, you are highly
likely to hit an NCDFE or casting exception.  A class file processed by
one classloader is distinct from the same class file handled by a
different classloader.

 - 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