首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

jsp页面post到servlet发生异常:java.lang.NoSuchMethodError: bean.User.<init>(Ljava/

2013-09-11 
jsp页面post到servlet发生错误:java.lang.NoSuchMethodError: bean.User.init(Ljava/lang/StringLjava/

jsp页面post到servlet发生错误:java.lang.NoSuchMethodError: bean.User.<init>(Ljava/lang/String;Ljava/lang/Str
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,接分
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.myexception.cn/java-web/317.html

热点排行