HTTP Status 500 - Servlet execution threw an exception
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
root cause
java.lang.NoClassDefFoundError: com/fr/web/core/ErrorHandlerHelper
com.fr.web.BaseServlet.doGet(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.39 logs.
java.lang.NoClassDefFoundError: com/fr/web/core/ErrorHandlerHelper
这类缺少类的问题,估计是每次运行都报错吧,除非你动态加载了其他的jar包
最要还是看缺少的类在哪里,只要补全就好了
关键是缺少不应该是一直报错吗,这个怎么时好时坏啊 搞不懂
@上班去喝茶:
时好时坏的话,估计是引用的jar把存在冲突
比如同一个类在不同的jar中
1.jar A.class -> A1.class
2.jar A.class
假如运行时先加载了1.jar那 A A1都全了,如果加载了2.jar,需要使用A1时就没有声明