javax.servlet.ServletException: [HTTP:101249][ServletContext(id=31808825,name=strutsoa,context-path=/strutsoa)]: Servlet class org.apache.struts.action.ActionServlet for servlet action could not be loaded because the requested class was not found in the classpath D:\ok\testoa\strutsoa;D:\bea\user_projects\domains\mydomain\.\..\..\..\..\ok\testoa\strutsoa\WEB-INF\classes;D:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_JBuilder_WebRun_strutsoa.
java.lang.ClassNotFoundException: org.apache.struts.action.ActionServlet.
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:794)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:504)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:349)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6310)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
这是那里出错了啊?(在进入xxxAction.do时出现的)
------解决方法--------------------------------------------------------
ActionServlet在classpath下没有找到,第一行就清清楚楚写着呢。Struts的包放进应用服务器的classpath了吗?
------解决方法--------------------------------------------------------
把Struts重新部署一下试试。