You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Matthias Bauer <Ma...@livinglogic.de> on 2001/01/09 14:47:29 UTC
Problems running struts-example application
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 +++ mba@livinglogic.de +++ LivingLogic AG +++
www.livinglogic.de
Re: Problems running struts-example application
Posted by Matthias Bauer <Ma...@livinglogic.de>.
Updating to tomcat 3.2.1 did the job. With this version I am able to run
both Struts 0.5 and the latest nightly build.
Thanks, Matthias
Kare Nuorteva wrote:
>
> Hello,
>
> If possible, update to latest struts nighly build and to tomcat 3.2.1.
>
> You must have parser.jar and jaxp.jar in your server classpath. See
> Struts INSTALL & README for more details.
>
> HTH,
> Kare 8^)
>
> --
> Kare Nuorteva, Software Engineer
> Satama UK Ltd
> mobile +44 7989 852 865
> http://www.satama.com/
Re: Problems running struts-example application
Posted by Kare Nuorteva <ka...@satama.com>.
Hello,
If possible, update to latest struts nighly build and to tomcat 3.2.1.
You must have parser.jar and jaxp.jar in your server classpath. See
Struts INSTALL & README for more details.
HTH,
Kare 8^)
--
Kare Nuorteva, Software Engineer
Satama UK Ltd
mobile +44 7989 852 865
http://www.satama.com/