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

后端 未结 6 1094
粉色の甜心
粉色の甜心 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条回答
  •  Happy的楠姐
    2020-12-16 09:36

    I solved this issue for myself, I found there's was two files of http-client with different version of other dependent jar files. So there may version were collapsing between libraries files so remove all old/previous libraries files and re-add are jar files from lib folder of this zip file:

    Donwload Zip file from here

提交回复
热议问题