使用Groovy RESTClient实现我收到以下异常:
java.lang.IllegalStateException: Invalid use of BasicClientConnManager: connection still allocated.
Make sure to release the connection before allocating another one.
据我了解的一个连接没有发布,所以我不能再拍一张。
什么是可能的解决方案?
结交新RESTClient实现为每个电话吗? 或者,也许有一些池?
谢谢!