jsp页面提交到一个servlet以后,在servlet中调用方法,出现错误。错误提示一下,
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.NoSuchMethodError: bean.User.<init>(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Z)V
Servlet.Register_Action.doPost(Register_Action.java:34)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.
--------------------------------------------------------------------------------
Apache Tomcat/6.0.14
------解决方案--------------------------------------------------------
恭喜LZ,接分