You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by JonTom Kittredge <jo...@itasoftware.com> on 2000/03/08 23:28:12 UTC

Tomcat 3.1 beta 1: Tag Library Error

I get the following error when I try to access the "Simple custom tag
example" I am running on i386 Linux with Apache 1.3.11 and the mod_jserv
module that comes with Tomcat.

Is this a known bug?
Yours, JonTom

    JT Kittredge
    ITA Software
    Cambridge, Massachusetts

Unhandled error! You might want to consider having an error page to
report such
errors more gracefully
java.lang.IllegalAccessError: try to access class
com/sun/xml/tree/ParentNode fr
om class org/apache/jasper/compiler/TagLibraryInfoImpl
        at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(Comp
iled Code)
        at
org.apache.jasper.compiler.DelegatingListener.handleDirective(Compile
d Code)
        at org.apache.jasper.compiler.Parser$Directive.accept(Compiled
Code)
        at org.apache.jasper.compiler.Parser.parse(Compiled Code)
        at org.apache.jasper.compiler.Parser.parse(Compiled Code)
        at org.apache.jasper.compiler.Parser.parse(Compiled Code)
        at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
        at org.apache.jasper.runtime.JspLoader.loadJSP(Compiled Code)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessar
y(Compiled Code)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compil
ed Code)
        at org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled
Code)
        at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at
org.apache.tomcat.core.ServletWrapper.handleInvocation(Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled
Code)
        at org.apache.tomcat.core.ContextManager.service(Compiled Code)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processCon
nection(Compiled Code)
        at org.apache.tomcat.service.TcpConnectionThread.run(Compiled
Code)
        at java.lang.Thread.run(Compiled Code)



RE: Tomcat 3.1 beta 1: Tag Library Error

Posted by Kevin Jones <ke...@develop.com>.
Search the archives, there's been lots on this in the last two weeks -

the problem arises (at least on NT) when you run Java code built with JDK
1.1.x on a JDK 1.2.x (or higher) VM

Kevin Jones
www.develop.com

> -----Original Message-----
> From: JonTom Kittredge [mailto:jontom@itasoftware.com]
> Sent: 08 March 2000 22:28
> To: general@jakarta.apache.org
> Subject: Tomcat 3.1 beta 1: Tag Library Error
>
>
> I get the following error when I try to access the "Simple custom tag
> example" I am running on i386 Linux with Apache 1.3.11 and the mod_jserv
> module that comes with Tomcat.
>
> Is this a known bug?
> Yours, JonTom
>
>     JT Kittredge
>     ITA Software
>     Cambridge, Massachusetts
>
> Unhandled error! You might want to consider having an error page to
> report such
> errors more gracefully
> java.lang.IllegalAccessError: try to access class
> com/sun/xml/tree/ParentNode fr
> om class org/apache/jasper/compiler/TagLibraryInfoImpl
>         at
> org.apache.jasper.compiler.JspParseEventListener.handleDirective(Comp
> iled Code)
>         at
> org.apache.jasper.compiler.DelegatingListener.handleDirective(Compile
> d Code)
>         at org.apache.jasper.compiler.Parser$Directive.accept(Compiled
> Code)
>         at org.apache.jasper.compiler.Parser.parse(Compiled Code)
>         at org.apache.jasper.compiler.Parser.parse(Compiled Code)
>         at org.apache.jasper.compiler.Parser.parse(Compiled Code)
>         at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
>         at org.apache.jasper.runtime.JspLoader.loadJSP(Compiled Code)
>         at
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessar
> y(Compiled Code)
>         at
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compil
> ed Code)
>         at org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled
> Code)
>         at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
>         at javax.servlet.http.HttpServlet.service(Compiled Code)
>         at
> org.apache.tomcat.core.ServletWrapper.handleInvocation(Compiled Code)
>         at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled
> Code)
>         at org.apache.tomcat.core.ContextManager.service(Compiled Code)
>         at
> org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processCon
> nection(Compiled Code)
>         at org.apache.tomcat.service.TcpConnectionThread.run(Compiled
> Code)
>         at java.lang.Thread.run(Compiled Code)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org