java.lang.IllegalStateException: No wrapped connection.

来源:互联网 发布:javaweb就业前景 知乎 编辑:程序博客网 时间:2024/05/27 02:28
java.lang.IllegalStateException: No wrapped connection.

    在程序执行HttpClient.execute();时报java.lang.IllegalStateException: No wrapped connection.
Google后得到解决方法:
    Connection are automatically closed if you close the InputStream's you get from httpclient. Check your code and make sure you are closing them properly.

原创粉丝点击