Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

In which jar file is the class JerseyJiraRestClientFactory present

aarondsouza September 12, 2013

I successfully installed and configured the jira-rest-java-client and i started following the tutorial to establish a connection

JerseyJiraRestClientFactory factory = new JerseyJiraRestClientFactory();
URI jiraServerUri = new URI("http://localhost:8090/jira");
JiraRestClient restClient = factory.create(jiraServerUri, myAuthenticationHandler);

But i am unable to resolve the class JerseyJiraRestClientFactory. I have all the necessary dependencies in my build path. In which library/dependency is this class present? Is it a class which i should create?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
MB
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 12, 2013

Try adding this to your pom.xml:

<dependency>
    <groupId>com.atlassian.jira</groupId>
    <artifactId>jira-rest-java-client</artifactId>
    <version>1.1-m02</version>
</dependency>

You can find some more info at this page.

1 vote
RambanamP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 12, 2013

you should have latest jersey libraries

https://ecosystem.atlassian.net/wiki/display/JRJC/Project+Dependencies

check this same question here

https://answers.atlassian.com/questions/122914/jerseyjirarestclientfactory-doesn-t-exist

and also check the dependencies

https://bitbucket.org/atlassian/jira-rest-java-client/src/8edc9449b149d1722596ea22505e9f58413a4f6a/pom.xml?at=IDE-Connectors

TAGS
AUG Leaders

Atlassian Community Events