You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Richa Oberoi <ri...@newgen.co.in> on 2000/02/29 06:25:57 UTC

Problem running TAG LIBRARY example with 3.1M1 !!!!

hi !!!
i have a problem 
i have the latest build of Tomcat 3.1M1
with this the server starts fine giving the following message (i am using JDK 1.2)

Tomcat Web Server Version 3.1M1
Loaded configuration from: file:C:/tomcat/server.xml
Starting tcp endpoint on 8080 with org.apache.tomcat.service.http.HttpConnection
Handler
Starting tcp endpoint on 8007 with org.apache.tomcat.service.connector.Ajp12Conn
ectionHandler
Configuring web service using "default"
Configuring web service using "file:C:/tomcat/examples/WEB-INF/web.xml"
Context(/examples): default: init
Context(/examples): jsp: init
Configuring web service using "default"
Configuring web service using "file:C:/tomcat/webpages/WEB-INF/web.xml"
Context(): default: init
Context(): jsp: init



now if i try to run the examples given all the examples r running fine but when i try to execute the tag library example it gives the following error


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 from class org/apache/jasper/compiler/TagLibraryInfoImpl
        at org.apache.jasper.compiler.JspParseEventListener.handleDirective(Comp
iled Code)
        at org.apache.jasper.compiler.DelegatingListener.handleDirective(Delegat
ingListener.java:110)
        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(Parser.java:1002)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:998)
        at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
        at org.apache.jasper.runtime.JspLoader.loadJSP(JspLoader.java:226)
        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
55)
        at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at org.apache.tomcat.core.ServletWrapper.handleInvocation(Compiled Code)

        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:224)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:347
)
        at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:144)
        at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:30
5)
        at java.lang.Thread.run(Thread.java:479)



please HELP  !!!!

Re: Problem running TAG LIBRARY example with 3.1M1 !!!!

Posted by Danno Ferrin <sh...@earthlink.net>.
RTFAQ

http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/acti
on/SetAll/project_id/2/faq_id/12/topic_id/43/question_id/235

----- Original Message -----
From: "Richa Oberoi" <ri...@newgen.co.in>
To: "Tomcat" <to...@jakarta.apache.org>
Sent: Monday, February 28, 2000 10:25 PM
Subject: Problem running TAG LIBRARY example with 3.1M1 !!!!


hi !!!
i have a problem
i have the latest build of Tomcat 3.1M1
with this the server starts fine giving the following message (i am using
JDK 1.2)

Tomcat Web Server Version 3.1M1
Loaded configuration from: file:C:/tomcat/server.xml
Starting tcp endpoint on 8080 with
org.apache.tomcat.service.http.HttpConnection
Handler
Starting tcp endpoint on 8007 with
org.apache.tomcat.service.connector.Ajp12Conn
ectionHandler
Configuring web service using "default"
Configuring web service using "file:C:/tomcat/examples/WEB-INF/web.xml"
Context(/examples): default: init
Context(/examples): jsp: init
Configuring web service using "default"
Configuring web service using "file:C:/tomcat/webpages/WEB-INF/web.xml"
Context(): default: init
Context(): jsp: init



now if i try to run the examples given all the examples r running fine but
when i try to execute the tag library example it gives the following error


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 from class
org/apache/jasper/compiler/TagLibraryInfoImpl
        at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(Comp
iled Code)
        at
org.apache.jasper.compiler.DelegatingListener.handleDirective(Delegat
ingListener.java:110)
        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(Parser.java:1002)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:998)
        at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
        at org.apache.jasper.runtime.JspLoader.loadJSP(JspLoader.java:226)
        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
55)
        at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at org.apache.tomcat.core.ServletWrapper.handleInvocation(Compiled
Code)

        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:224)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:347
)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:144)
        at
org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:30
5)
        at java.lang.Thread.run(Thread.java:479)



please HELP  !!!!