Hi all,

I am just starting out with struts and was trying to get the
struts-example to run. I am using Tomcat 3.1 and have downloaded and
compiled Struts 0.5

After having built the binary distribution from source, I copied the
files struts-documentation.war, struts-test.war and struts-example.war
into my webapps directory.

Starting tomcat still works fine, but when I try to access
http://localhost:8080/struts-example/ I get the following error:

> hias@wolga:/opt/jakarta/lib > Unhandled error! You might want to consider having an 
>error page t
> o report such errors more gracefully
> java.lang.IllegalAccessError: try to access class com.sun.xml.tree.ParentNode from 
>class org.apa
> che.jasper.compiler.TagLibraryInfoImpl
>         at 
>org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:174)
>         at 
>org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:665)
>         at 
>org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116)
>         at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:1073)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:1034)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
>         at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
>         at 
>org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
>         at 
>org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
>         at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
>         at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at 
>org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
>         at 
>org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:163)
>         at org.apache.tomcat.servlets.DefaultServlet.doGet(DefaultServlet.java:187)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at 
>org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
>         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
>         at 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
>         at 
>org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
>         at java.lang.Thread.run(Thread.java:484) 

The xml.jar file where com.sun.xml.tree.ParentNode is located is in my
Tomcat lib directory. So I don't quite understand what's going on here.

Can anybody help me out please? Thanks in advance.

--- Matthias



Matthias Bauer +++ [EMAIL PROTECTED] +++ LivingLogic AG +++
www.livinglogic.de

Reply via email to