看不懂,请教大神

来源:3-5 显示学生资料-页面调用与数据展现

qq_下个瞬间_03247970

2017-12-05 17:31

Unable to instantiate Action, action.StudentsAction,  defined for 'Students_query' in namespace '/students'action.StudentsAction - action - file:/E:/Tomcat/apache-tomcat-7.0.78/webapps/StudentProjectManager/WEB-INF/classes/struts.xml:36:63

写回答 关注

1回答

  • qq_下个瞬间_03247970
    2017-12-05 17:32:17

    Unable to instantiate Action, action.StudentsAction,  defined for 'Students_query' in namespace '/students'action.StudentsAction - action - file:/E:/Tomcat/apache-tomcat-7.0.78/webapps/StudentProjectManager/WEB-INF/classes/struts.xml:36:63

    at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:318)

    at com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:399)

    at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:204)

    at org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:62)

    at org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37)

    at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)

    at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:567)

    at org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81)

    at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:143)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)

    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)

    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

    at java.lang.Thread.run(Unknown Source)

    Caused by: java.lang.ClassNotFoundException: action.StudentsAction

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)

    at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:176)

    at com.opensymphony.xwork2.ObjectFactory.getClassInstance(ObjectFactory.java:124)

    at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:185)

    at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:172)

    at com.opensymphony.xwork2.factory.DefaultActionFactory.buildAction(DefaultActionFactory.java:22)

    at com.opensymphony.xwork2.ObjectFactory.buildAction(ObjectFactory.java:137)

    at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:299)

    ... 25 more


使用Struts2+Hibernate开发学生信息管理功能

Strust2+Hibernate整合开发案例,Java Web开发技能更上一层楼

80701 学习 · 754 问题

查看课程

相似问题