This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant's JSPC task and Tomcat 4.1.24LE - Broken?

dave sag
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In an effort to reduce the round trip time between making changes to my struts heavy jsp pages and catching simple jsp errors, I am trying to use the optional ant task JSP to precompile my jsps. According to the docs I need to make sure jasper,jar is in ant's lib dir for the task to work but there is no jasper.jar any more.
when i run the task i get the following error:
java.lang.NoClassDefFoundError: org/apache/jasper/JspC
I added jasper-compiler.jar and jasper-runtime.jar but neither of these seem to contain org.apache.jasper.JspC
my ant task looks like this:

have i done something dumb, or is the JSPC task just out of date? I am using ant 1.5.3
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic