Hello,

I'm trying to precompile the JSPs in a project, and so far I almost got it working, but I'm getting this error:

BUILD FAILED
.../iTrust/build.xml:10: org.apache.jasper.JasperException: file:.../iTrust/WebRoot/auth/hcp/editRepresentatives.jsp (line: 123, column: 0) Unable to load tag handler class "edu.ncsu.csc.itrust.tags.PatientNavigation" for tag "itrust:patientNav"

I'm guessing it is because this project is structured in a weird way. This is my ant target:

   <target name="jspc">
    <jasper
             validateXml="false"
             uriroot="${webapp.path}/WebRoot"
webXmlFragment="${webapp.path}/WebRoot/WEB-INF/generated_web.xml"
             outputDir="${webapp.path}/WEB-INF/src" >
    </jasper>

  </target>

I have the compiled classes at "${webapp.path}/build", so if there is a way to set the classpath or put the classes in a place where jasper will find them, I think it would work. I don't need to run the project, I just need the JSPs precompiled to run some static analysis on the code.

Thank you.

--
Juan Manuel Florez
Software Engineering PhD Student

Reply via email to