java.lang.IllegalStateException: SRVE0199E: OutputStream already obtained
<p>I was running an application on ibm liberty profile. It has a security certificate too. When I try to run this application it gives me the login screen but when I try to login, it thorows the follwing error. Could someone please help me to fix the error?</p>

<pre><code>[ERROR] SRVE0777E: Exception thrown by application class 'com.ibm.ws.webcontainer.srt.SRTServletResponse.getWriter:813'
java.lang.IllegalStateException: SRVE0199E: OutputStream already obtained

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalStateException: SRVE0199E: OutputStream already obtained
</code></pre>