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]>

Reply via email to