请问下大家以下BUG怎么出来的啊?
该怎么解决啊?
2009-9-16 13:39:26 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.FilterDispatcher
2009-9-16 13:39:26 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2009-9-16 13:39:26 org.apache.catalina.core.StandardContext start
严重: Context [/tj_3_10] startup failed due to previous errors严重: Servlet.service() for servlet jsp threw exception
java.lang.IllegalStateException: getOutputStream() has already been called for this response2009-9-16 13:39:33 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.IllegalStateException: getOutputStream() has already been called for this response 

解决方案 »

  1.   

        <display-name>struts2</display-name>
        <filter>
            <filter-name>struts2</filter-name>       
            <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
        </filter>
        <filter-mapping>
            <filter-name>struts2</filter-name>
            <url-pattern>/*</url-pattern>
        </filter-mapping>
    这是XML,有什么不妥的地方烦请指出来,谢谢,本人菜鸟
      

  2.   

    JAR包的版本冲突,STRUTS2对应需要的jar包可以到官方网站去查。