You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jim Coble <Ji...@duke.edu> on 2003/06/10 16:01:30 UTC

JSP page pre-compile fails with modifier private error

I am attempting to precompile the JSP pages for a web application using the
instructions found in the "Web Application Compilation" section at
<http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html>.  When
I run the ant tasks as described in that section, the "jspc" task runs fine
but the "compile" task generates a number of errors complaining about
"private" modifiers; e.g.,

    [javac]
/usr/local/tomcat/webapps/blackboard/WEB-INF/src/about/techinfo_jsp.java:11:
 modifier private static not allowed here
    [javac]   private static java.util.Vector _jspx_includes;
    [javac]                                   ^
    [javac]
/usr/local/tomcat/webapps/blackboard/WEB-INF/src/about/techinfo_jsp.java:13:
 modifier private not allowed here
    [javac]   private org.apache.jasper.runtime.TagHandlerPool
_jspx_tagPool_template_insert_template;
    [javac]                                                    ^

Any ideas what I'm doing wrong?  I'm using Tomcat 4.1.18, Struts 1.0.2, and
Java 1.4.1.

Thanks in advance.
--Jim

==================================
Jim Coble
Senior Technology Specialist
Center for Instructional Technology
Email: jim.coble@duke.edu
Voice: 919-660-5974  Fax: 919-660-5923
Box 90198, Duke University
Durham, NC 27708-0198
==================================




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org