HTTP Status 500 - Servlet execution threw an exception报错怎么解决 5

typeExceptionreportmessageServletexecutionthrewanexceptiondescriptionTheserverencount... type Exception report

message Servlet execution threw an exception

description The server encountered an internal error that prevented it from fulfilling this request.

exception
javax.servlet.ServletException: Servlet execution threw an exception
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

root cause
java.lang.ExceptionInInitializerError
daoImpl.UserDaoImpl.<init>(UserDaoImpl.java:14)
serviceImpl.UserserviceImpl.login(UserserviceImpl.java:13)
servlets.LoginServlet.doGet(LoginServlet.java:55)
servlets.LoginServlet.doPost(LoginServlet.java:73)
javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause
java.util.MissingResourceException: Can't find bundle for base name dbinfo, locale zh_CN
java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
java.util.ResourceBundle.getBundleImpl(Unknown Source)
java.util.ResourceBundle.getBundle(Unknown Source)
Utils.DBUtils.<clinit>(DBUtils.java:18)
daoImpl.UserDaoImpl.<init>(UserDaoImpl.java:14)
serviceImpl.UserserviceImpl.login(UserserviceImpl.java:13)
servlets.LoginServlet.doGet(LoginServlet.java:55)
servlets.LoginServlet.doPost(LoginServlet.java:73)
javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

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

Apache Tomcat/8.5.8
展开
 我来答
傲雪寒online
2018-04-26 · 超过24用户采纳过TA的回答
知道答主
回答量:70
采纳率:87%
帮助的人:33.7万
展开全部
daoImpl.UserDaoImpl.<init>(UserDaoImpl.java:14)
错误日志现在这个类有错误,你可以去排查下这个类的14行。
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式