别人做的java程序,数据库mysql,用tomcat打开,可以到登陆页面了,但是输入默认密码和名字都是错误,
就是输入默认密码显示密码错误,然后注册是显示一大堆错误HTTPStatus500-typeExceptionreportmessagedescriptionTheserv...
就是输入默认密码显示密码错误,然后注册是显示一大堆错误
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
jdbc.JDBConnection.update(JDBConnection.java:115)
servlet.UserService.addUser(UserService.java:38)
control.UserAction.register(UserAction.java:133)
control.UserAction.doPost(UserAction.java:114)
javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.41 logs.
好的我会再追加分的,谢谢了 展开
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
jdbc.JDBConnection.update(JDBConnection.java:115)
servlet.UserService.addUser(UserService.java:38)
control.UserAction.register(UserAction.java:133)
control.UserAction.doPost(UserAction.java:114)
javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.41 logs.
好的我会再追加分的,谢谢了 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |