Hi All,

I have a basic doubt on precompilation .I am doing precompilation using the
scripts(jspc.sh) .
Its giving the Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/util/FileUtils
at org.apache.jasper.JspC.resolveFile(JspC.java:1395)
at org.apache.jasper.JspC.setUriroot(JspC.java:686)
at org.apache.jasper.JspC.setArgs(JspC.java:283)
at org.apache.jasper.JspC.main(JspC.java:241)

I could see the FileUtils.class in ant.jar but I dont have ant.jar in
tomcat/common/lib.

Is it possible to compile jsps without ant.jar ?(actually i am calling the
JspC( org.apache.jasper.JspC "$@") it requires FileUtils)
Shell I call  org.apache.jasper.compiler.Compiler "$@"

Please share your experience?

Thanks in advance

Regards
Raju
On 8/8/06, Raju Balugu <[EMAIL PROTECTED]> wrote:


Thanks Subir ,

I didn't find the jspc.sh script in tomcat5.5.17..Could you please point
me to that location?

Thanks in advance

Regards
Raju

 On 8/5/06, Subir Sengupta <[EMAIL PROTECTED]> wrote:
>
> Use the jspc.sh script to precompile your jsp's.
>
> -----Original Message-----
> From: Sameer Acharya [mailto: [EMAIL PROTECTED]
> Sent: Thursday, August 03, 2006 3:43 AM
> To: Tomcat Users List
> Subject: Re: How to do the precompilation on jsp
>
> My understanding is that you need to pre-compile jsp's from your build
> before you start using the application right ?
> You can write a simple script to hit all your jsp's ( need to start
> tomcat first), this will precompile your jsp's.
> -Sameer
>
> Raju Balugu <[EMAIL PROTECTED]> wrote: Hi All,
>
> We are using the clearcase for version control(vob).My requirement is
> like..I need to do the precompilation before going to ran a build?is
> there
> any utilities in  tomcat  end or third partys.(as the jasper-compiler is
> so
> fast we are palning to do this).please share your experience on
> precompile
> the jsp files
>
> Thanks in advance.
>
> Regards
> Raju
>
>
>
> ---------------------------------
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great
> rates starting at 1ยข/min.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to