Hi all,

I am trying to use jrun's taglib with J2EE RI.
I put the jar file in WEB-INF/lib and tld file
into WEB-INF/tlds.  When the tld file is reference
in JSP using taglib tag.  I got the following
error,

java.lang.ClassCastException:
com.sun.xml.tree.TextNode
        at
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfo
Impl.java:327)
        at
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoIm
pl.java:212)
        at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspP
arseEventListener.java:653)
        at
org.apache.jasper.compiler.DelegatingListener.handleDirective(Delegat
ingListener.java:110)
        at
org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:203)
        at
org.apache.jasper.compiler.Parser.parse(Parser.java:1056)
        at
org.apache.jasper.compiler.Parser.parse(Parser.java:1031)
        at
org.apache.jasper.compiler.Parser.parse(Parser.java:1027)
        at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:172)
        at
org.apache.jasper.runtime.JspLoader$2.run(JspLoader.java:273)
        at
java.security.AccessController.doPrivileged(Native
Method)
        at
org.apache.jasper.runtime.JspLoader.loadJSP(JspLoader.java:270)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessar
y(JspServlet.java:137)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspSer
vlet.java:148)
        at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:2
47)
        at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:352)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper
.java:626)
        at
org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper
.java:534)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:378)
        at
org.apache.tomcat.core.Context.handleRequest(Context.java:644)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:440
)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:144)
        at
org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:31
0)
        at java.lang.Thread.run(Thread.java:484)

The translated java file is generated but has 0 size.
What is the problem and how to resolve it?

My parameters are
NT4.0
J2EE RI 1.2.1

Thanks!


__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to