问题:
java org.apache.http.client.ClientProtocolException at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java(ImmutableHttpProcessor.
我正在尝试通过我的GWT应用程序中的servlet发出get请求。在编译代码时,我得到了这些错误。[ERROR] Line 16: No source code is available for type org.apache.http.client.ClientProtocolException;我应该怎么做才能删除这些错误?GWT是否不支持这些类?下面是我使用的代码
public String getJSON() throws ClientProtocolException, IOE