You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/03/22 19:08:34 UTC
DO NOT REPLY [Bug 34134] New: -
Tomcat 5.5.6 Jasper ant task does not find JSTL TLDs
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34134>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34134
Summary: Tomcat 5.5.6 Jasper ant task does not find JSTL TLDs
Product: Tomcat 5
Version: 5.5.6
Platform: Other
OS/Version: other
Status: NEW
Severity: major
Priority: P2
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: cris@dsnet.net
Following ant snippet does not succeed with Tomcat 5.5.6:
<taskdef classname="org.apache.jasper.JspC" name="jasper2" >
<classpath refid="global.classpath" />
<classpath refid="project.classpath" />
</taskdef>
<target name="jspc">
<mkdir dir="${glin.buildjsp}" />
<jasper2
validateXml="false"
uriroot="${glin.web}/docroot"
webXmlFragment="${glin.web}/docroot/WEB-INF/jsp_web.xml"
outputDir="${glin.buildjsp}" />
...
global.classpath contains a reference to tomcat 5.5.6. project.classpath
constitutes all of the project libs, including standard.jar. When executing, I
receive the following error:
org.apache.jasper.JasperException: The absolute uri:
http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the
jar files deployed with this application
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114)
at
org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316)
at
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:147)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
...
However, this TLD is included in standard.jar. The web.xml has no TLD
references, but it is a 2.4 compliant webapp. If I change to point to Tomcat
5.0.x, everything works fine. I am running JDK1.5, though I can reproduce this
behavior on 1.4.2.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org