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

后端 未结 6 1099
粉色の甜心
粉色の甜心 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:42

    If its a maven project, add the below dependency in your pom file

        
            org.apache.httpcomponents
            httpclient
            4.3.4
        
    

提交回复
热议问题