From: remm Date: Mon, 9 Oct 2006 14:53:07 +0000 (+0000) Subject: - Also catch no class def found here, to fix usage of Ant/javac without the need... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=79c2a0003126e9a299d73c35c6d50d168124d025;p=tomcat7.0 - Also catch no class def found here, to fix usage of Ant/javac without the need to use the compilerClassName init param. git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@454397 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/jasper/JspCompilationContext.java b/java/org/apache/jasper/JspCompilationContext.java index 87b758119..49ec37500 100644 --- a/java/org/apache/jasper/JspCompilationContext.java +++ b/java/org/apache/jasper/JspCompilationContext.java @@ -239,6 +239,10 @@ public class JspCompilationContext { log.warn(Localizer.getMessage("jsp.error.compiler"), e); } catch (IllegalAccessException e) { log.warn(Localizer.getMessage("jsp.error.compiler"), e); + } catch (NoClassDefFoundError e) { + if (log.isDebugEnabled()) { + log.debug(Localizer.getMessage("jsp.error.compiler"), e); + } } catch (ClassNotFoundException e) { if (log.isDebugEnabled()) { log.debug(Localizer.getMessage("jsp.error.compiler"), e);