From 79c2a0003126e9a299d73c35c6d50d168124d025 Mon Sep 17 00:00:00 2001 From: remm Date: Mon, 9 Oct 2006 14:53:07 +0000 Subject: [PATCH] - 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 --- java/org/apache/jasper/JspCompilationContext.java | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.11.0