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] - java.lang.VerifyError compiling JSTL XML tags
Date Mon, 08 Mar 2004 21:48:30 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

andycirillo@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From andycirillo@yahoo.com  2004-03-08 21:48 -------
OK, the problem was actually with JSTL and Xalan.  The version of Xalan that 
is bundled in rt.jar with Java 1.4.1_02 defines:

public final class VariableStack implements Cloneable { /***/ }

whereas the class XPath with JSTL 1.1 defines the inner class

protected class JstlVariableContext extends org.apache.xpath.VariableStack 
{ /***/ }

hence the "Cannot inherit from final class" error.  The version of Xalan 
shipped with jstl.jar does not have the "final" modifier, but because Xalan is 
bundled with Java, you have to drop (the correct version of) Xalan.jar into 
<tomcat_home>/common/endorsed to get it to take.

---------------------------------------------------------------------
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