To make the picture more complete: it seems that the trouble the Jasper compiler doesn't find the /WEB-INF/web.xml file. But how can I tell it where to find it (simply creating it directly under my project directory didn't work)? If I include other custom taglibs with reference to e.g. /WEB-INF/forms.tld it doesn't find them as well.
So the question is: How can I tell the Jasper Compiler where to find the /WEB-INF/web.xml or /WEB-INF/forms.tld. ======================================= My directory tree structure: ======================================= /web/WEB-INF/web.xml /web/WEB-INF/forms.tld ======================================= and here it the commandline of the ant-task ======================================= ant jspc Buildfile: build.xml jspc: 2003-03-23 06:11:23 - Internal Error: File /WEB-INF/web.xml not found 2003-03-23 06:11:23 - ERROR-the file '\digsig.jsp' generated the following gener al exception: org.apache.jasper.JasperException: This absolute uri (http://java. sun.com/jstl/core) cannot be resolved in either web.xml or the jar files deploye d with this application [jasper2] Error in class org.apache.jasper.JspC BUILD FAILED file:F:/soap/esv/forms/build.xml:296: org.apache.jasper.JasperException: This ab solute uri (http://java.sun.com/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application ----- Forwarded by Johannes Fiala/Johannes Fiala on 23.03.2003 18:11 ----- Johannes Fiala/Johannes Fiala 23.03.2003 17:59 To Tomcat Users List <[EMAIL PROTECTED]> cc Subject Jasper Compilation with Ant including custom taglibs hi there, I've used a taglib from the jstl/core-package and would like to compile it. If I try so using ant and a jspc-task, I get the following error: 2003-03-23 05:54:11 - ERROR-the file '\nodigsig.jsp' generated the following gen eral exception: org.apache.jasper.JasperException: This absolute uri (http://jav a.sun.com/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application [jasper2] Error in class org.apache.jasper.JspC BUILD FAILED ==> I already tried to include the libraries as properties (external dependencies), but no success. Has anybody else tried to compile JSPs using custom taglibs? ======================= nodigsig.jsp ======================= <%@ page language="java" contentType="text/html" %> <%@ taglib prefix="c" uri = "http://java.sun.com/jstl/core" %> <% System.out.println("executing scriptlet code"); %> <html> <body> Ihre Anfrage wurde gespeichert und wird in den nächsten Tagen bearbeitet. </body> </html> ======================== build.xml (excerpt) ======================== <target name="jspc"> <taskdef classname="org.apache.jasper.JspC" name="jasper2" > <classpath id="jspc.classpath"> <pathelement location="${java.home}/../lib/tools.jar"/> <fileset dir="${catalina.home}/server/lib"> <include name="*.jar"/> </fileset> <fileset dir="${catalina.home}/common/lib"> <include name="*.jar"/> </fileset> </classpath> </taskdef> <jasper2 validateXml="false" uriroot="${basedir}/jsp" webXmlFragment="${basedir}/webinc.xml" outputDir="${basedir}/src" /> </target> thx alot johannes