tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danno Ferrin <shem...@earthlink.net>
Subject Re: IllegalAccessError and Tags
Date Thu, 03 Feb 2000 16:18:05 GMT
RTFFAQ

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

Theo wrote:
> 
> Hi there
> 
> I can't get the Tag Extensions example to work with none of the builds using
> windows NT.
> I've tried to include additional XML jars (e.g. xml4j.jar), jdk1.3,
> allow-all-policy files.
> Does it actually work? It seems like the java.lang.IllegalAccessError is
> caused my a call on a method that does not exists? Below a screen dump of
> using tomcat.zip (3 Feb 2000) after a call to
> http://127.0.0.1:8080/examples/jsp/simpletag/foo.jsp from the tag example
> page.
> 
> Otherwise, viva Tomcat!
> Thanks for a good product
> 
> Theo van Niekerk
> 
> ----------
> 
> Using classpath:
> .\classes;.\lib\webserver.jar;.\lib\servlet.jar;.\lib\jasper.jar;.\webpages\
> WEB-INF\classes\jsp\beans;.
> \lib\xml.jar;c:\java\jdk1.2.2\lib\tools.jar;.;
> Automatic addContext( /examples, webapps/examples)
> Automatic addContext( , webapps/ROOT)
> Automatic addContext( /test, webapps/test)
> Context(/examples): webapps/examples
> Context(/examples): Loading -2147483646 jsp
> Context(/examples): jsp: init
> Context(/examples): Loading -2147483646 default
> Context(/examples): default: init
> Context(/test): webapps/test
> Context(/test): Loading -2147483646 jsp
> Context(/test): jsp: init
> Context(/test): Loading -2147483646 default
> Context(/test): default: init
> Context(): webapps/ROOT
> Context(): Loading -2147483646 jsp
> Context(): jsp: init
> Context(): Loading -2147483646 default
> Context(): default: init
> Starting tcp endpoint on 8080 with
> org.apache.tomcat.service.http.HttpConnectionHandler
> Starting tcp endpoint on 8007 with
> org.apache.tomcat.service.connector.Ajp12ConnectionHandler
> 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/TagL
> ibraryInfoImpl
>         at
> org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
> ntListener.java, Compiled Code)
>         at
> org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
> ntListener.java, Compiled Code)
>         at
> org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingList
> ener.java:110)
>         at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java,
> Compiled Code)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java, 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(Compiler.java,
> Compiled Code)
>         at org.apache.jasper.runtime.JspLoader.loadJSP(JspLoader.java:227)
>         at
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
> rvlet.java:138)
>         at
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:149)
>         at
> org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:256)
>         at org.apache.jasper.runtime.JspServlet.service(JspServlet.java,
> Compiled Code)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>         at
> org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java,
> Compiled Code)
>         at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:234)
>         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:367)
>         at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:144)
>         at
> org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:305)
>         at java.lang.Thread.run(Thread.java:479)
> 
> ---------------------------------------------------------------------
> 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