Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

precompile jsp

Hans Steinraht

2003-12-14

Replies:

hi all,

just a question, I'm trying to precompile my jsp with the ant build
script from the apache site ( jasper-howto).
I don.t now what is going wrong but when I execute it with:
  ant -Dtomcat.home=/opt/jakarta-tomcat-4.1.24
       -Dwebapp.path=/opt/jakarta-tomcat-4.1.24/webapps/mywebapp
the message I receive is:
  jspc:
  No public no-arg constructor in class org.apache.jasper.JspC
  BUILD FAILED
  file:/jspc/build.xml:11: No public no-arg constructor in class
org.apache.jasper.JspC

Ant idea what I'm doing wrong?

Maybe interesting, I get the same error when I try to precompile with
the script from:
  http://cvs.apache.org/~fhanik/precompile.html

Any help is apreciated
Hans



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.