我之前用mysql做的JSP作业,现在想改成SQLserver的,需要改动哪些东西呢?
改动了一点,然后就出现了这种情况:HTTPStatus500-typeExceptionreportmessagedescriptionTheserverencounte...
改动了一点,然后就出现了这种情况:
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
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:169)
com.util.DBUtil.getConn(DBUtil.java:39)
com.model.user.UserDAO.loginUser(UserDAO.java:44)
com.servlet.user.UserLoginServlet.doPost(UserLoginServlet.java:79)
javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.57 logs.
Apache Tomcat/7.0.57
能否帮忙解答一下? 展开
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
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:169)
com.util.DBUtil.getConn(DBUtil.java:39)
com.model.user.UserDAO.loginUser(UserDAO.java:44)
com.servlet.user.UserLoginServlet.doPost(UserLoginServlet.java:79)
javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.57 logs.
Apache Tomcat/7.0.57
能否帮忙解答一下? 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询