我利用myeclips开发工具加载了struts,
可浏览页面出现
HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage 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.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
java.lang.Thread.run(Unknown Source)这个错误,再简单的页面都会这样,即使没有用到struts,请问高手如何解决啊,忙活一天了

解决方案 »

  1.   

    Servlet.init() for servlet jsp threw exception 
    servlet初始化问题
      

  2.   

    首先我在原有没有加载的struts时页面时正常显示的,即使是selvlet,
    但加载了struts后就不行了提示这个错误,然后我又重新建新的站点加载struts,
    还是产生这个错误,我想是配置的原因
    http://java.chinaitlab.com/Eclipse/33386.html,
    这是我参考的地址,希望高手帮我看看啊
      

  3.   

    服务器将jsp转换成servlet时出错
    因此错误应该在jsp页面
      

  4.   

    你刚开始学就用标签库很容易出错的.标签库在web.xml文件中添加了吗?在jsp文件中改了吗?仔细点看.
      

  5.   

    错误代码没有别的了吗?
    你用的版本和你参考的文章是一样的吗?
    你去myeclipse网站看看吧
    那里好像有例子的 如果没记错的话
      

  6.   

    这与页面没一点关系,而是初始化 Servlet 报错,使得应用没法部署。
      

  7.   

    我又重新配置了一下,出现这个错误:
    Failed to load or instantiate TagExtraInfo class:
    org.apache .structs.taglib.html.MessageTei,
    错误,我在google过没有解决,谢谢,又是一天过去了
      

  8.   

    配置struts不用哪么麻烦,到官方网站上把那几个jar下载后放在lib下,在web.xml中配置struts的控制器,编写struts-config.xml即可,如果需要资源文件和验证,还要编写ApplicationResources.properties和validation.xml
      

  9.   

    是啊我也觉得没有那么麻烦,特别是在myeclipse中,可是它就是出现这个错误提示,把前面引入的标签去了就好了,
    就是标签惹得祸,到底是哪得错误啊
      

  10.   

    http://blog.sina.com.cn/s/blog_49b62e5b010086ui.html#cmt_619429
    看了这个你就知道错在哪了,我曾经遇到过就是这样成功解决,
    看来这个问题的人真不少
      

  11.   

    看一下你用的struts的版本和你的标签版本是否相同。