讲讲 发表于 2018-2-28 20:48

求助大佬

运行的在线考试系统报这个错误咋回事啊 myeclipse不报错啊

Servlet.service() for servlet in context with path threw exception [An exception occurred processing JSP page /index.jsp at line 26

23:   </tr>
24: </table>
25: <table width="778" height="158"border="0" align="center" cellpadding="0" cellspacing="0" background="Images/login_mid.jpg">
26: <html:form action="manage/student.do?action=login" method="post" focus="ID">
27:         <tr>
28:             <td>
29:                                   


Stacktrace:] with root cause
javax.servlet.jsp.JspException: Exception creating bean of class com.wgh.actionForm.StudentForm: {1}
        at org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:487)
        at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:457)
        at org.apache.jsp.index_jsp._jspx_meth_html_005fform_005f0(index_jsp.java:157)
        at org.apache.jsp.index_jsp._jspService(index_jsp.java:114)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

拧巴人 发表于 2018-3-16 18:39

哪个项目?发地址
页: [1]
查看完整版本: 求助大佬