tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27521] New: - java.lang.VerifyError compiling JSTL XML tags
Date Mon, 08 Mar 2004 18:42:35 GMT
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=27521>.
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=27521

java.lang.VerifyError compiling JSTL XML tags

           Summary: java.lang.VerifyError compiling JSTL XML tags
           Product: Tomcat 5
           Version: 5.0.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: andycirillo@yahoo.com


I get the following error trying to compile a JSP that uses certain JSTL XML 
tags (specifically, x:parse and x:transform work fine, everything else fails):

java.lang.VerifyError: Cannot inherit from final class
	java.lang.ClassLoader.defineClass0(Native Method)
	java.lang.ClassLoader.defineClass(ClassLoader.java:502)
	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	org.apache.catalina.loader.WebappClassLoader.findClassInternal
(WebappClassLoader.java:1677)
	org.apache.catalina.loader.WebappClassLoader.findClass
(WebappClassLoader.java:900)
	org.apache.catalina.loader.WebappClassLoader.loadClass
(WebappClassLoader.java:1350)
	org.apache.catalina.loader.WebappClassLoader.loadClass
(WebappClassLoader.java:1230)
	java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
	org.apache.taglibs.standard.tag.common.xml.ExprSupport.doStartTag
(ExprSupport.java:101)
	org.apache.jsp.jsp.test_jsp._jspx_meth_xstuff_out_0(test_jsp.java:137)
	org.apache.jsp.jsp.test_jsp._jspService(test_jsp.java:72)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:311)
	org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:301)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

Some sample JSP that causes the error is below:

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>
<%@ page isELIgnored="false" %>

<c:import var="xmldata" url="file:/C:/hipaa/work/xc/data/csa-complete.xml" />
<x:parse var="harold" doc="${xmldata}"/>
<x:out select="$harold/policy/title"/>

I'm not 100% sure that this is a Jasper problem and not a JSTL bug, but it 
seemed more likely.

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


Mime
View raw message