如何解决-HTTP状态500-Servlet执行引发异常

时间:2018-12-11 17:53:33

标签: java hibernate class servlets http-status-code-500

  

我不断收到此错误,我不知道该怎么办,我是学生,请与我保持冷静!

HTTP状态500-Servlet执行引发异常 输入例外报告

消息Servlet执行抛出异常

说明服务器遇到内部错误,导致服务器无法满足此请求。

例外

javax.servlet.ServletException:Servlet执行引发异常     org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 根本原因

java.lang.NoClassDefFoundError:javax / persistence / Persistence     br.com.sky.iTvMC.util.JPAUtil。(JPAUtil.java:9)     br.com.sky.iTvMC.controler.CanalClienteControle.processRequest(CanalClienteControle.java:37)     br.com.sky.iTvMC.controler.CanalClienteControle.doPost(CanalClienteControle.java:79)     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) 根本原因

java.lang.ClassNotFoundException:javax.persistence.Persistence     org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1332)     org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1166)     br.com.sky.iTvMC.util.JPAUtil。(JPAUtil.java:9)     br.com.sky.iTvMC.controler.CanalClienteControle.processRequest(CanalClienteControle.java:37)     br.com.sky.iTvMC.controler.CanalClienteControle.doPost(CanalClienteControle.java:79)     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注意在Apache Tomcat / 8.0.36日志中可以找到根本原因的完整堆栈跟踪。

0 个答案:

没有答案