Win a flower (🌹) or copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java (📚) this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
master stewards:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
garden masters:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
gardeners:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

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

 
pioneer
Posts: 47
  • 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
 
If you're gonna buy things, buy this thing and I get a fat kickback:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!