zoukankan      html  css  js  c++  java
  • java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade

    Java代码
    1.  2012-10-4 19:50:37 org.apache.catalina.core.StandardWrapperValve invoke  
    2. 严重: Servlet.service() for servlet default threw exception  
    3. java.lang.IllegalStateException  
    4. at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:407)  
    5. at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:839)  
    6. at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:533)  
    7. at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)  
    8. at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)  
    9. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
    10. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
    11. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)  
    12. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)  
    13. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)  
    14. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)  
    15. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  
    16. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)  
    17. at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)  
    18. at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)  
    19. at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)  
    20. at java.lang.Thread.run(Thread.java:619)  

     在用action 里返回json 数据时,不能return SUCCESS ,必须return null 否则报此错误!

  • 相关阅读:
    应用服务器安装
    datasnap的线程池
    压缩OLEVARIANT数据
    服务端日志记录
    提交主从表的多个已经修改的数据
    MySQL与PostgreSQL相比哪个更好?
    Vue入门常用指令详解
    Laravel模型事件的实现原理详解
    Git 遇到了 early EOF indexpack failed 问题
    Laravel 代码开发最佳实践
  • 原文地址:https://www.cnblogs.com/riskyer/p/3241493.html
Copyright © 2011-2022 走看看