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: NoClassDefFoundError: HttpServlet
Date Tue, 03 Feb 2009 15:06:47 GMT
> From: Ladislav Gaspar [mailto:ladislav.gaspar@it-vision.com]
> Subject: AW: NoClassDefFoundError: HttpServlet
>
> The sample servlets work.

Good - which says the problem is isolated to your webapp, so that narrows the focus.

> But what could that be?

It looks like somewhere in your webapp, you're carrying around a second copy of HttpServlet.
 You'll need to go through all your jars, looking for classes that duplicate ones that Tomcat
provides.  Also look in the META-INF/MANIFEST.MF entries of each jar, to see if there's a
Class-Path entry that links to other jars it shouldn't.

 - 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 unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message