![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
日常问题解决
文章平均质量分 78
影子的格子
这个作者很懒,什么都没留下…
展开
-
No enclosing instance of type E is accessible. Must qualify the allocation with an enclosin的解决方案
最近用java写一个小程序时编译出现:No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing instance of type E(e.g. x.new A() where x is an instance of E). 原始代码如下:public class原创 2016-11-23 16:12:33 · 2198 阅读 · 0 评论 -
eclipse生成的webservice客户端调用webservice接口返回值慢的问题
最近在对接一个webservice接口的时候,为了方便直接用eclipse生成了webservice的客户端,发现一个奇怪的问题,调用webservice的时候调用速度很快,但是返回数据很慢,每次需要5分钟左右才能接收到服务端返回的值。奇葩就奇葩字在隔了五分钟才返回一个值。最后找了好久原因,发现情况生成的客户端发送的是基于HTTP 1.0的请求,如下图: 找了资料发现HTTP1原创 2016-11-04 14:20:49 · 7361 阅读 · 6 评论