tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ladislav Gaspar" <ladislav.gas...@it-vision.com>
Subject AW: NoClassDefFoundError: HttpServlet
Date Tue, 03 Feb 2009 16:28:22 GMT
oh gosh, how embarrassing...
Someone had changed the default output folder for the compiled classes but my ant scripts
still deployed
from the old (and now wrong) location...

sorry for bothering ye, and thanks for the replies.

cheers
Laci



---------------------------------------------------
Laci Gaspar                 T. +41 61 206 9617
Senior Professional         www.it-vision.com
portX Technik               www.portx.ch

IT Vision AG
St. Alban-Anlage 29         Technoparkstrasse 1	
4010 Basel                  8005 Z├╝rich
---------------------------------------------------

-----Urspr├╝ngliche Nachricht-----
Von: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Gesendet: Dienstag, 3. Februar 2009 16:07
An: Tomcat Users List
Betreff: RE: NoClassDefFoundError: HttpServlet

> 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



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


Mime
View raw message