Author: remm Date: Mon Oct 9 07:53:07 2006 New Revision: 454397 URL: http://svn.apache.org/viewvc?view=rev&rev=454397 Log: - Also catch no class def found here, to fix usage of Ant/javac without the need to use the compilerClassName init param.
Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/JspCompilationContext.java Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/JspCompilationContext.java URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jasper/JspCompilationContext.java?view=diff&rev=454397&r1=454396&r2=454397 ============================================================================== --- tomcat/tc6.0.x/trunk/java/org/apache/jasper/JspCompilationContext.java (original) +++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/JspCompilationContext.java Mon Oct 9 07:53:07 2006 @@ -239,6 +239,10 @@ 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); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]