Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 32502 invoked from network); 4 Jan 2006 16:45:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Jan 2006 16:45:18 -0000 Received: (qmail 50493 invoked by uid 500); 4 Jan 2006 16:45:03 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 50407 invoked by uid 500); 4 Jan 2006 16:45:03 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 50376 invoked by uid 500); 4 Jan 2006 16:45:03 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 50362 invoked by uid 99); 4 Jan 2006 16:45:03 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2006 08:45:02 -0800 Received: by ajax.apache.org (Postfix, from userid 99) id E517DE0; Wed, 4 Jan 2006 17:44:41 +0100 (CET) From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 37054] - NoClassDefFoundError using ServletContextListener In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20060104164441.E517DE0@ajax.apache.org> Date: Wed, 4 Jan 2006 17:44:41 +0100 (CET) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=37054 alfie.kirkpatrick@ioko.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | ------- Additional Comments From alfie.kirkpatrick@ioko.com 2006-01-04 17:44 ------- I'm re-opening this as I have a project that worked fine in 5.5.9 and doesn't work in 5.5.12 (similar to the original poster). I tracked the issue down to my server.xml (see below). I was using a element under element. Even with an empty element I get the NoClassDefFoundError. When I take out the element completely it works. My stack trace is: SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener My server.xml is: This is causing trouble for me as I want to use a custom classloader derived from WebappClassLoader. Is there any workaround? Thanks, Alfie. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org