java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient

后端 未结 6 1100
粉色の甜心
粉色の甜心 2020-12-16 08:51

I am trying to make a get request from the GWT servlet to get JSON response from a web service. Following is the code in my servlet :

public String getQueDat         


        
6条回答
  •  清歌不尽
    2020-12-16 09:31

    This problem occurs if there are different jar versions. Especially versions of httpcore and httpclient. Use same versions of httpcore and httpclient.

提交回复
热议问题