description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet action threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:175)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:207)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:637)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:488)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:568)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:631)
java.lang.Thread.run(Thread.java:536)
root cause
java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource
java.lang.ClassLoader.defineClass0(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:502)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1657)
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:882)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1345)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1225)
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:1084)
org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
javax.servlet.GenericServlet.init(GenericServlet.java:256)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:175)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:207)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:637)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:488)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:568)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:631)
java.lang.Thread.run(Thread.java:536)
------解决方法--------------------------------------------------------
少了一个叫struts-legacy.jar的包,在struts的例子里有,^_^给分吧