首页 > 编程语言 > 详细

暂时解决java.lang.IllegalStateException: It is invalid to call isReady() when the response has not been put into non-blocking mode

时间:2017-06-07 19:11:44      阅读:810      评论:0      收藏:0      [点我收藏+]

环境:

    本机-apache-tomcat-9.0.0.M21

    服务器-apache-tomcat-9.0.0.M9

 

错误复盘:

最初不知道是tomcat版本解决的,实现了一个下载PDF文件的功能,在action中使用SpringMVC提供的功能对OutputStream进行了close(这块内部逻辑暂不了解)

另外,通过切面@After注解记录用户访问日志,其中使用了一行代码JSON.toJSONString(arguments),结果程序报错

技术分享

  因为程序在本地没有这个问题,怀疑是tomcat版本导致,暂时通过升级tomcat版本的方式解决,后续进行深入研究。

暂时解决java.lang.IllegalStateException: It is invalid to call isReady() when the response has not been put into non-blocking mode

原文:http://www.cnblogs.com/wendelhuang/p/6958634.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!