myeclipse的一个错误javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
HTTPStatus500------------------------------------------------------------------------...
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NoClassDefFoundError
org.apache.jasper.compiler.JspRuntimeContext.<init>(JspRuntimeContext.java:104)
org.apache.jasper.servlet.JspServlet.init(JspServlet.java:77)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
================================================
以前也遇到过,后来不知道怎么解决的,现在又出现了,求解啊 展开
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NoClassDefFoundError
org.apache.jasper.compiler.JspRuntimeContext.<init>(JspRuntimeContext.java:104)
org.apache.jasper.servlet.JspServlet.init(JspServlet.java:77)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
================================================
以前也遇到过,后来不知道怎么解决的,现在又出现了,求解啊 展开
3个回答
展开全部
tomcat中lib默认的包就够了
包不一致导致编译问题,不要轻易把包放tomcat里头
自己项目需要的包,放在自己项目中 的 WEB-INF/lib 目录
不用拷贝到 tomcat 中的lib目录
删除了那些无用的, 重启一下就好了
包不一致导致编译问题,不要轻易把包放tomcat里头
自己项目需要的包,放在自己项目中 的 WEB-INF/lib 目录
不用拷贝到 tomcat 中的lib目录
删除了那些无用的, 重启一下就好了
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
没有找到相关的类,你确定必要的一类jar文件都导入了吗
上面说是init方法里德错误,初始化的时候出错,可能你的那里配置有问题了
上面说是init方法里德错误,初始化的时候出错,可能你的那里配置有问题了
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
下载javax.jar包 放到bin目录下 在myeclipse中导入.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询