jira-rest-java-client-2.0.0-m2

Fabian Birrer January 1, 2014

I try to create a JRJC with jira-rest-java-client-2.0.0-m2 but I have a lot of java.lang.ClassNotFoundException. What libraries do I need? Do i need the jersey libraries?

3 answers

0 votes
Ipsumlorem January 9, 2014

I also got some ClassNotFoundException / NoClassDefFoundError Exceptions and they were caused by version incompatibility with other dependencies out of my pom.xml (transitiv dependencies).

For example i got the
"com.atlassian.httpclient.api.ResponseTransformationException: java.lang.NoClassDefFoundError: org/apache/http/config/Lookup"
Exception because i also used "selenium-java" as dependency in my pom.xml.

My solution was to exclude "org.apache.httpcomponents.httpclient" in the "selenium-java" dependency.
Excluding "org.apache.httpcomponents.httpclient"
from the "jira-rest-java-client-2.0.0-m2" won't work
because jira needs exactly the version out of its transitiv dependency.

0 votes
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.
January 9, 2014
0 votes
amit04jain January 9, 2014

Same here

Caused by: java.lang.ClassNotFoundException: com.atlassian.util.concurrent.Effect

Suggest an answer

Log in or Sign up to answer