首页上一页 1 下一页尾页 1 条记录 1/1页
急,出现这种情况可能是什么原因啊?
发表在JavaWeb图书答疑
2013-11-24
是否精华
是
否
版块置顶:
是
否
数据库采用MySQL
服务器采用Tomcat
打开网页出现这种情况,
此代码是java web从入门到精通清爽夏日九宫格日记
还望大侠帮助~不胜感激
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
com.wgh.tools.ConnDB.executeQuery(ConnDB.java:56)
com.wgh.dao.DiaryDao.queryDiary(DiaryDao.java:28)
com.wgh.servlet.DiaryServlet.listAllDiary(DiaryServlet.java:249)
com.wgh.servlet.DiaryServlet.doPost(DiaryServlet.java:52)
com.wgh.servlet.DiaryServlet.doGet(DiaryServlet.java:66)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
com.wgh.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:24)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.47 logs.
--------------------------------------------------------------------------------
Apache Tomcat/7.0.47
服务器采用Tomcat
打开网页出现这种情况,
此代码是java web从入门到精通清爽夏日九宫格日记
还望大侠帮助~不胜感激
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
com.wgh.tools.ConnDB.executeQuery(ConnDB.java:56)
com.wgh.dao.DiaryDao.queryDiary(DiaryDao.java:28)
com.wgh.servlet.DiaryServlet.listAllDiary(DiaryServlet.java:249)
com.wgh.servlet.DiaryServlet.doPost(DiaryServlet.java:52)
com.wgh.servlet.DiaryServlet.doGet(DiaryServlet.java:66)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
com.wgh.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:24)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.47 logs.
--------------------------------------------------------------------------------
Apache Tomcat/7.0.47