bin/catalina-tasks.xml doesn't import jsp-api.jar, which contains classes the jasper2 ant task requires. Attempting to use the jasper2 task without explicitly importing this jar results in java.lang.NoClassDefFoundError: javax/servlet/jsp/JspFactory The following corrects this problem: --- old/catalina-tasks.xml 2005-10-06 06:05:30.000000000 -0500 +++ new/catalina-tasks.xml 2006-10-20 00:12:29.885785000 -0500 @@ -14,6 +14,7 @@ <fileset file="${catalina.home}/common/lib/jasper-compiler.jar"/> <fileset file="${catalina.home}/common/lib/jasper-runtime.jar"/> <fileset file="${catalina.home}/common/lib/servlet-api.jar"/> + <fileset file="${catalina.home}/common/lib/jsp-api.jar"/> <fileset file="${catalina.home}/server/lib/catalina-ant.jar"/> </classpath> </taskdef> Daniel
Created attachment 19033 [details] Patch to add jsp-api.jar into classpath ant tasks
Fixed in SVN and will be included in 5.5.21 onwards. Thanks!