Thanks Michael, Once I created the classpath element and force the JspC task to use the this new classpath reference, it worked just fine. Now that I have the my jsp files compiled into bytecode, can I force the JspC task to output the web.xml snippet that needs to be included in the main file? Or do I need to run jasper manually for that information?
Dan >>> [EMAIL PROTECTED] 07/15/02 04:37PM >>> you need to download the Jasper JSP compiler: http://jakarta.apache.org/ant/manual/OptionalTasks/jspc.html you'll need to add jasper-compiler.jar and jasper-runtime.jar into a path element and set the classpathref attribute of the JspC task to that path element. i believe the reference to jasper.jar in the doc is incorrect. it should be jasper-compiler.jar. mike -----Original Message----- From: Dan Hable [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 2:20 PM To: [EMAIL PROTECTED] Subject: Problems Getting JspC Working I'm trying to add the a JspC task to our webapp build process. I've added the JspC tag without problem but when I execute the task I get a NoClassDefFoundError. I moved the jasper-runtime.jar and jasper-compiler.jar files into the ant lib directory and setup the JASPER_HOME env. variable. No luck. Anyone have any words of wisdom with this task. Note: I looked for jasper.jar, per the task documentation, but I can't find any jar file by that name included with Tomcat 4.0.4 or Tomcat 4.1.6. Thanks In Advance, Dan ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++ This electronic mail transmission contains information from Joy Global Inc. which is confidential, and is intended only for the use of the proper addressee. If you are not the intended recipient, please notify us immediately at the return address on this transmission, or by telephone at (414) 671-4400, and delete this message and any attachments from your system. Unauthorized use, copying, disclosing, distributing, or taking any action in reliance on the contents of this transmission is strictly prohibited and may be unlawful. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ This electronic mail transmission contains information from Joy Global Inc. which is confidential, and is intended only for the use of the proper addressee. If you are not the intended recipient, please notify us immediately at the return address on this transmission, or by telephone at (414) 671-4400, and delete this message and any attachments from your system. Unauthorized use, copying, disclosing, distributing, or taking any action in reliance on the contents of this transmission is strictly prohibited and may be unlawful. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>