日期:2014-05-17  浏览次数:20882 次

关于服务器调试的问题
type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoSuchMethodError: com.hou.jiaJiao.jydjBean.insert()I
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:534)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:442)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)


root cause 

javax.servlet.ServletException: java.lang.NoSuchMethodError: com.hou.jiaJiao.jydjBean.insert()I
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:911)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:840)
org.apache.jsp.zccg_jsp._jspService(zccg_jsp.java:154)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)


root cause 

java.lang.NoSuchMethodError: com.hou.jiaJiao.jydjBean.insert()I
org.apache.jsp.zccg_jsp._jspService(zccg_jsp.java:71)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)


note The full stack trace of the root cause is available in the Apache Tomcat/7.0.11 logs.

那位大神帮忙解决一下问题啊,拜谢啊


------解决方案--------------------
代码贴出来看看
------解决方案--------------------
http://wangjunping1988.iteye.com/blog/949935
lz去看看
------解决方案--------------------
com.hou.jiaJiao.jydjBean
这个类有问题,贴出来看下
------解决方案--------------------
你的代码和你的class一致吗?
建议删除classes 下的内容重新编译
删除tomcat work 下的缓存
重启tomcat
------解决方案--------------------
报了java.lang.NoSuchMethodError还能插入数据库?
没搞错吧?
把代码完整贴出来看下
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.aiyiweb.com/java-web/317.html