Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
Cannot use ServletOutputStream because a PrintWriter is being used. User getWriter() instead. This included request was probably nested in a Jsp BodyTag
via Google Groups by Eleanor, 2 years ago
Cannot use ServletOutputStream because a PrintWriter is being used. User getWriter() instead. This included request was probably nested in a Jsp BodyTag
java.lang.IllegalStateException: Cannot use ServletOutputStream because a PrintWriter
is being used. User getWriter() instead. This included request was probably nested
in a Jsp BodyTag	at weblogic.servlet.jsp.NestedBodyResponse.getOutputStream(NestedBodyResponse.java:21)	at javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:136)	at weblogic.servlet.internal.DelegateChunkWriter.getWriter(DelegateChunkWriter.java:132)	at weblogic.servlet.internal.DelegateChunkWriter.print(DelegateChunkWriter.java:99)	at weblogic.servlet.internal.ChunkOutputWrapper.print(ChunkOutputWrapper.java:136)	at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:204)	at weblogic.management.console.webapp._common.__simpleformtag_javascript._jspService(__simpleformtag_javascript.java:99)	at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)	at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:446)	at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:298)	at weblogic.management.console.tags.IncludeTag.doDispatcherInclude(IncludeTag.java:122)	at weblogic.management.console.tags.IncludeTag.doStartTag(IncludeTag.java:83)	at weblogic.management.console.tags.SimpleFormTag.doStartTag(SimpleFormTag.java:129)	at weblogic.management.console.tags.ThreeColumnFormTag.doStartTag(ThreeColumnFormTag.java:44)	at weblogic.management.console.webapp._domain.__connectorcomponent._jspService(__connectorcomponent.java:267)	at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)	at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:232)	at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:120)	at weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35)	at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)	at weblogic.management.console.actions.internal.ActionServlet.doGet(ActionServlet.java:91)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)	at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2643)	at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2401)	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)