DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40802>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40802 Summary: jasper2 ant task broken using bin/catalina-tasks.xml Product: Tomcat 5 Version: Nightly Build Platform: All OS/Version: All Status: NEW Severity: normal Priority: P4 Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] 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 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]