- Also catch no class def found here, to fix usage of Ant/javac without the need...
authorremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 9 Oct 2006 14:53:07 +0000 (14:53 +0000)
committerremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 9 Oct 2006 14:53:07 +0000 (14:53 +0000)
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

index 87b7581..49ec375 100644 (file)
@@ -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);