I am trying to do jsp precompilation using ant 1.7.1 tomcat 6.0.14, jdk
1.5.0.14. Attached is my ant task for pre-compilation. I am getting the
attached error message. I even tried jspc, jasper2.  I don't understand
what is missing in the classpath. 

 

Ant Task:

<java classname="org.apache.jasper.JspC" fork="true"
failOnError="false" classpath="${classpath}"  >                  

 <arg line="-uriroot C:/temp/wwe/wweconsumer/src/WEB-INF/templates -d
${build}/dist -webapp ${build}/${src}/WEB-INF/templates "/>

  <classpath>         

        <fileset file="${basedir}/WEB-INF/web.xml"/>

         <fileset dir="${classpath}" includes="*.jar"/>

         <fileset dir="C:/Software/Tomcat6.0/lib" includes="*.jar"/>

          <fileset dir="C:/Software/Tomcat6.0/bin" includes="*.jar"/>


  </classpath>

</java>

 

Ant Error:

builddev:

     [copy] Copying 1 file to
C:\temp\wwe\wweconsumer\src\WEB-INF\classes

     [copy] Copying 1 file to
C:\temp\wwe\wweconsumer\src\WEB-INF\classes

     [echo] WEB-INF/lib

     [java] Dec 2, 2008 2:46:12 PM
org.apache.jasper.compiler.TldLocationsCache

processWebDotXml

     [java] WARNING: Internal Error: File /WEB-INF/web.xml not found

     [java] org.apache.jasper.JasperException:
file:C:/temp/wwe/wweconsumer/src/

WEB-INF/templates/www_wwe_com_HomePage/challenger.jsp(1,1) File
"/www_wwe_com_Ho

mePage/oscache" not found

Reply via email to