Jira Rest Java Client: missing ApacheHttpClientConfig from Jersey

后端 未结 1 627
广开言路
广开言路 2021-01-23 19:21

I\'m following the JRJC tutorial, and the second line here:

final JerseyJiraRestClientFactory factory = new JerseyJiraRestClientFactory();
final JiraRestClient          


        
相关标签:
1条回答
  • 2021-01-23 19:44

    Well, that was silly enough. jersey-client doesn't give you ApacheHttpClientConfig. That comes with jersey-apache-client. Here's the pom snippet.

    <dependency>
        <groupId>com.sun.jersey.contribs</groupId>
        <artifactId>jersey-apache-client</artifactId>
        <version>1.9</version>
    </dependency>
    
    0 讨论(0)
提交回复
热议问题