I have  Tomcat 3.3.1. I have downloaded the struts 1.2.2 and unzipped to the directory 
C:\struts. 
I have copied over the "struts-examples.war" files in the directory 
C:\struts\jakarta-struts-1.2.2\dist\webapps to the $TOMCAT_HOME\webapps directory as 
well as unjarred them to 
$TOMCAT_HOME\webapps\struts-examples. 
I have downloaded sax2r2.jar, unjarred it and added sax.jar to the classpath. Have 
also copied sax.jar to the $TOMCAT_HOME\webapps\struts-examples\WEB-INF directory.
I can run the struts-documentation fine but when I try to run the struts-examples I 
get the following error
Error: 500Location: /struts-examples/welcome.doInternal Servlet Error:

java.lang.NoClassDefFoundError: org/xml/sax/SAXException        at 
java.lang.Class.newInstance0(Native Method)  at 
java.lang.Class.newInstance(Class.java:232)  at 
org.apache.tomcat.facade.ServletHandler.getServlet(ServletHandler.java:346)  at 
org.apache.tomcat.facade.ServletHandler.preInit(ServletHandler.java:439)     at 
org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java:228)        at 
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:472)     at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)       
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)       at 
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)   
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)  
 at java.lang.Thread.run(Thread.java:479)

Please can someone help me run the examples?

Thanks,

WA.

 
 
 
 
 

                
---------------------------------
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.

Reply via email to