[opencms-dev] 6b2: Using JSTL's XML tags to process Structured Content

Daniel Rhoden drhoden at iiwinc.com
Tue Apr 5 02:27:14 CEST 2005


I am using structured content to organize configuration settings and not 
as an alternative to XML pages. I am wanting to use JSTL's xml tag lib 
to access the nodes of interest via XPath statements.  I am able to use 
every other JSTL feature (including sql) without any problems, except 
for the XML tags.

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

Even with the simplest of pages, I get the following exception:

java.lang.VerifyError: Cannot inherit from final class
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
	at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
	at org.apache.taglibs.standard.tag.common.xml.ExprSupport.doStartTag(ExprSupport.java:63)

Is there anything about OpenCMS that would prevent the XML tags from 
working?

--Daniel Rhoden




More information about the opencms-dev mailing list