Java 评估struts2调试标记时jsp中出现流关闭异常?

Java 评估struts2调试标记时jsp中出现流关闭异常?,java,jsp,struts2,Java,Jsp,Struts2,我有一个struts2应用程序,working finr。但当我将标记以html形式或其他任何形式放入jsp时,它会抛出 Struts Problem Report Struts has detected an unhandled exception: Messages: Stream closed File: org/apache/jasper/runtime/JspWriterImpl.java Line number: 204 Stacktraces java.io.IOExce

我有一个struts2应用程序,working finr。但当我将标记以html形式或其他任何形式放入jsp时,它会抛出

Struts Problem Report
Struts has detected an unhandled exception: 
Messages: Stream closed 
File: org/apache/jasper/runtime/JspWriterImpl.java 
Line number: 204 

Stacktraces
java.io.IOException: Stream closed 
org.apache.jasper.runtime.JspWriterImpl.ensureOpen(JspWriterImpl.java:204)
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115)
org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:173)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary
我还在
struts.properties
中提到了
struts.devMode=true

我们出现这种异常的基本原因是,jsp的输出已经发送到浏览器,但仍在评估某些内容,但不确定为什么会发生这种情况

编辑这是jsp,尽管我刚刚在其中保留了最少的信息

<!doctype html>
 <%@ page contentType="text/html; charset=UTF-8" %>
 <%@ taglib prefix="s" uri="/struts-tags" %>

  <html>
 <head>
 </head>

 <body>
 <h1>Struts 2 debug tag example</h1>

 <s:debug />

 </body>
 </html>

Struts2调试标记示例

如果有人能解释一下,大家会很有帮助的?

请同时粘贴您的JSP。您需要提供更多信息;是S2标签吗?你试过只使用一个S2标记的JSP吗?是的,它的S2 teag only.struts-tags.tld版本是2.2。我想调试这个特定的jsp,所以我没有尝试只使用单个S2标记的jsp,也尝试了只使用单个标记的jsp,但出现了相同的错误。用编辑部分中的旧JSP替换新JSP还附加了编译JSP文件。由于s:debug标记,无法获取流关闭的方式