Eclipse的错误

来源:百度知道 编辑:UC知道 时间:2024/09/21 19:10:03
会出现一下错误提示!搞不懂!

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.zds.emis.common.db.DBExecute.preparedStatement(DBExecute.java:82)
com.zds.emis.author.dao.imp.UserInfoDao.longin(UserInfoDao.java:188)
com.zds.emis.author.service.imp.LoginBs.longin(LoginBs.java:12)
com.zds.emis.author.servlet.LonginServlet.doPost(LonginServlet.java:28)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.zds.emis.common.util.EncodingFilter.doFilter(EncodingFilter.java:36)

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

1、系统有问题,或病毒破坏了系统注册表。
2、安装有问题,不知到你用的是什么版本的。或path没有配置好。
3、JDK有问题。

解决办法
重新安装系统,最好用安装版本的系统再装好驱动。
然后从新安装JDK,再配置好path。
我现在用的是3.2的汉化版本没有出现任何问题。

注:个人经验仅供参考 如果有不懂的问题可M我