jsp:include在App Engine托管VM Java运行时中抛出IllegalStateException

时间:2014-11-30 16:30:53

标签: java jsp google-app-engine google-compute-engine

只要存在jsp:include

,托管VM就会抛出IllegalStateException
java.lang.IllegalStateException
 at org.apache.jasper.runtime.ServletResponseWrapperInclude.getOutputStream(ServletResponseWrapperInclude.java:65)
 at javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:94)
 at com.google.apphosting.vmruntime.CommitDelayingResponse.<init>(CommitDelayingResponse.java:62)
 at com.google.apphosting.vmruntime.CommitDelayingResponseServlet3.<init>(CommitDelayingResponseServlet3.java:23)
 at com.google.apphosting.vmruntime.jetty9.VmRuntimeWebAppContext.doScope(VmRuntimeWebAppContext.java:394)
...

我将hello app分叉以显示错误:https://github.com/erugeri/appengine-java-vm-hello/compare/jsp-include-bug?diff=unified

1 个答案:

答案 0 :(得分:1)