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

关于JavaWeb异常的问题?求解答!急!
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.NoClassDefFoundError: wyf/wyy/Borrow_list
wyf.wyy.StuDB.getCurMoney(StuDB.java:134)
wyf.wyy.StuDB.getStuInfo(StuDB.java:55)
wyf.wyy.StudentServlet.doPost(StudentServlet.java:38)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


root cause 

java.lang.ClassNotFoundException: wyf.wyy.Borrow_list
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
wyf.wyy.StuDB.getCurMoney(StuDB.java:134)
wyf.wyy.StuDB.getStuInfo(StuDB.java:55)
wyf.wyy.StudentServlet.doPost(StudentServlet.java:38)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


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


--------------------------------------------

Apache Tomcat/6.0.18

------解决方案--------------------
500--运行时错误,是不是没有引入相应的jar包
------解决方案--------------------
没有找到你的类wyf.wyy.Borrow_list,你看看是不是哪里写错了或者是没有引入包呢
------解决方案--------------------
要将所要用的jar包放入工程的lib中
------解决方案--------------------
缺少相应的jar包,缺什么导什么,否则会冲突
------解决方案--------------------
java.lang.NoClassDefFoundError: wyf/wyy/Borrow_list
wyf.wyy.StuDB.getCurMoney(StuDB.java:134)


找不到 wyf/wyy/Borrow_list这个类
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.aiyiweb.com/java-web/317.html