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?
Community moderators have prevented the ability to post new answers.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.